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

ParametersData TypeDescription
responseJSON ObjectContains the response details of the API.
codeIntegerSuccess or failure code.
messageStringSuccess or failure message returned by the API.
errorsJSON ObjectContains the error details of the API such as 'code' and 'message'.

Possible Errors

Error CodeDescription
400602No 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"
    }
  ]
}