Delete User from the Portal
Purpose
To delete a user from a portal.
Request Details
Request URL
{api-domain}/crm/{version}/settings/portals/{portal_name}/user_type/{user_type_id}/users
Header
Authorization: Zoho-oauthtoken 100xx.92d4xxxxxxxxxxxxx15f52
Scope
scope=ZohoCRM.settings.clientportal.ALL
(or)
Scope=ZohoCRM.settings.clientportal.DELETE
Parameter
- personality_ids mandatory
Comma-separated IDs of the users you want to delete from the portal. Note that you can specify up to 499 IDs in the request, after which the system schedules a job to delete the users.
Sample Request
Copied
Possible Errors
- INVALID_DATAHTTP 400
The user is already deleted, the user does not belong to that user type, or the user does not belong to that portal.
- NO_PERMISSIONHTTP 403
The "Client Portal User" permission is disabled.
Resolution: Contact your administrator and set up the "Client Portal User" to transfer the users.
Sample Response
Copied