Delete a Label
Purpose
This API is used to delete a specific label.
OAuth Scope
Use the scope
MailApps.tags.ALL (or) MailApps.tags.DELETE
ALL - Full access to labels
DELETE - Delete a label.
To generate Authtoken, refer here.
Request URL
Method: DELETE
https://mail360.zoho.com/api/accounts/{account_key}/labels/{labelid}
Path Parameters
- account_key* string
- This is a unique key used to identify the mailbox. It is generated during account addition.
- This parameter can be fetched from Get all accounts API.
- labelid* long
- This is a unique key used to identify the specific label. It is generated during label creation.
- This parameter can be fetched from Get all labels API.
Sample Request
Copied
Sample response
Copied