Enable an account
Purpose
This API is used to enable an existing account.
OAuth Scope
Use the scope
MailApps.accounts.ALL (or) MailApps.accounts.UPDATE
ALL - Full access to the accounts.
UPDATE -To enable an existing account.
To generate Authtoken, refer here.
Request URL
Method: PUT
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.
Request Body (JSON object)
- mode* string
- This parameter represents the type of operation that is to be performed.
- Provide the value as enableAccount.
* - Mandatory parameter
Sample request
Copiedcurl "https://mail360.zoho.com/api/accounts/N7A**C0CM" \
-X PUT \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization:Zoho-oauthtoken ***" \
-d '{
"mode":"enableAccount"
}'
Sample response
Copied{
"status": {
"code": 200,
"description": "success"
}
}