Delete a User Group
Purpose
To delete a user group.
Request Details
Request URL
{api-domain}/crm/{version}/settings/user_groups/{user_group_id}
Header
Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52
Scope
scope=ZohoCRM.settings.user_groups.DELETE
Sample Request
Copiedcurl "https://www.zohoapis.com/crm/v4/settings/user_groups/3652397000009949005"
-X DELETE
-H "Authorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxxxxxxx9be93.9b8xxxxxxxxxxxxxxxf"
Possible Errors
- INVALID_DATAHTTP 400
The group ID is incorrect.
Resolution: Specify a valid group ID. Use the Get User Groups API to get the ID of the user group.
Sample Response
Copied{
"user_groups": [
{
"code": "SUCCESS",
"details": {
"id": "3652397000009949005"
},
"message": "Group deleted",
"status": "success"
}
]
}