Mark User as Active
This API allows you to mark an inactive user as active. You've to specify the email address of the user along with 'mark-active' in the request URL of the API.
Request Type
- PUT
Request URL
https://campaigns.zoho.com/emailapi/v2/settings/users/{email_id}/mark-active
Content-Type
application/json
List of Response Body Attributes
Parameters | Data Type | Description |
response | JSON Object | Contains the response details of the API. |
code | Integer | Success or failure code. |
message | String | Success or failure message returned by the API. |
errors | JSON Object | Contains the error details of the API such as 'code' and 'message'. |
Possible Errors
Error Code | Description |
400602 | No such user present. |
Sample Response - Success
Copied{
"response": {
"code": 200607,
"message": "Successfully updated the user status"
}
}
Sample Response - Failure
Copied{
"errors": [
{
"code": 500601,
"message": "An error occurred in User Management"
}
]
}