Delete a user

Delete a user from the organization.

Request URL


Choose domain-specific URL to replace {api-domain}

You can use the domain-specific URL to access Bigin resources. Based on the data center in which the Bigin account's resources are available, replace {api-domain} in the preceding request with one of the following API domain URLs:

  • For US,
  • For EU,
  • For AU,
  • For IN,
  • For CN,
  • For JP,

For more information, see Multi DC Support.



For this endpoint, pass the access token as an authorization header. See OAuth Authentication for more information about access tokens.

Authorization: Zoho-oauthtoken <ACCESS_TOKEN>

You must authenticate using an access token that is associated with one of the following scopes:

  • ZohoBigin.users.ALL
  • ZohoBigin.users.DELETE

Request parameters

The available request parameters are given below:

Path parameters

user_id stringRequired

The unique identification of a user. You can get the ID from the Get user data API.


  • Only one user can be deleted per request.
  • When fetching user records through the Get Users API, the deleted user record will also appear in the response with the status value set to deleted.
  • The primary user of the organization cannot be directly deleted. To delete the primary user, you need to assign another user as the new primary contact for the organization and then delete the old one.

Sample request

Copiedcurl "" \
-H "Authorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxxxxxxx9be93.9b8xxxxxxxxxxxxxxxf"
Copiedresponse = invokeurl
	url: ""
	type: DELETE
info response;

Response object

The response object provides information regarding the success message or status.

Possible error codes

The response of this resource includes HTTP status and error codes.

The most common HTTP error codes that occur when you request access to this endpoint are given in the following:


    Resolution: The record ID of the user you want to delete is invalid. Refer to Get Users API to get valid record IDs.


    Primary contact cannot be deleted
    Resolution: You cannot delete the primary contact of your organization.


    User is already deleted
    Resolution: The user you want to delete is already deleted.


    User does not have sufficient privilege to delete users
    Resolution: The user does not have the permission to delete users. Contact your system administrator.

Sample response

    "users": [
            "code": "SUCCESS",
            "details": {},
            "message": "User deleted",
            "status": "success"