- Overview
- What's New in V5?
- Changelog
- OAuth Authentication
- Multi DC Support
- GDPR Compliance
- HIPAA Compliance
- HTTP Request Methods
- Status Codes
- Metadata APIs
- GETModule
- GETFields
- GETLayouts
- GETRelated Lists
- Profiles
- Custom View
- Roles
- Territories
- GETTerritories
- POSTTerritories
- PUTTerritories
- DELETETerritories
- POSTTransfer and Delete Territories
- GETChild Territories of a Territory
- POSTAssign Territories to Records
- GETTerritories Assigned
- POSTRemove Territories of Records
- GETAssociated User Count
- PUTAssociate Users with Territory
- DELETEDisassociate Users from Territory
- GETRetrieve User details Associated with a Territory
- Scoring Rules
- Variables
- Map Dependency
- User Groups
- Tags
- Pipeline
- Wizards
- Assignment Rules
- Templates
- User's Unavailability
- Portals
- Fiscal Year
- Business Hours
- Holidays
- Shift Hours
- REST APIs
- Modules
- Organization
- Users
- Records
- Related Records
- Records APIs using External ID
- Meeting Cancel
- Subforms
- Linking Modules
- Contact Roles
- Photos and Attachments
- Mass Update
- Mass Delete
- Currencies
- Files
- Share
- Fields' Attachments
- Change Owner
- Mass Change Owner
- Blueprint
- Emails
- Notes
- Related Records Using External ID
- Composite API
- Bulk APIs
- Notification APIs
- Query API
Delete a User Type
Purpose
To delete the user type from a portal.
Request Details
Request URL
{api-domain}/crm/{version}/settings/portals/{portal_name}/user_type/{user_type_id}
Header
Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52
Scope
scope=ZohoCRM.settings.clientportal.ALL
(or)
Scope=ZohoCRM.settings.clientportal.DELETE
Sample Request
Copiedcurl "https://zylkercorp.zohoplatform.com/crm/v5/settings/portals/ZohoTest17/user_type/1947281000000470169"
-X DELETE
-H "Authorization: Zoho-oauthtoken 100xx.d92d4xxxxxxxxxxxxx15f52"
Possible Errors
- INVALID_DATAHTTP 400
The user type has users.
Resolution: You can delete a user type only after transferring the users to another user type. Refer to the Transfer users and delete user type API. - NO_PERMISSIONHTTP 403
The "Manage Portal" permission is disabled.
Resolution: Contact your administrator and set up the "Manage Portal" permission to be able to delete a user type from the portal.
Sample Response
Copied{
"user_type": [
{
"code": "SUCCESS",
"details": {
"id": 1947281000000470169
},
"message": "Portal user type deleted successfully.",
"status": "success"
}
]
}
© 2025, Zoho Corporation Pvt. Ltd. All Rights Reserved.