Delete an account
Purpose
This API is used to delete an account.
OAuth Scope
Use the scope
MailApps.accounts.ALL (or) MailApps.accounts.DELETE
ALL - Full access to the accounts.
DELETE -To delete an account.
To generate Authtoken, refer here.
Request URL
Method: DELETE
https://mail360.zoho.com/api/accounts/{account_key}
Path Parameters
- account_key* string
- This key is used to identify the account. It is generated during account addition.
* - Mandatory parameter
Sample request
Copiedcurl "https://mail360.zoho.com/api/accounts/GaK**wc05r" \
-X DELETE \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization:Zoho-oauthtoken ****" \
Sample response
Copied{
"status": {
"code": 200,
"description": "success"
}
}