Delete User

This API allows you to delete an user. You've to pass the email address of the user in the request URL of the API.

Request Type

  • DELETE

Request URL

https://campaigns.zoho.com/emailapi/v2/settings/users/{email_id}

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": 200104,
    "message": "Successfully deleted the user"
  }
}

Sample Response - Failure

Copied{
  "errors": [
    {
      "code": 500601,
      "message": "An error occurred in User Management"
    }
  ]
}