Create a Profile
Purpose
To create a profile.
Request Details
Request URL
{api-domain}/crm/{version}/settings/profiles/{clone-profile-id}/actions/clone
Where, clone-profile-id is the unique ID of the existing profile you want to clone. Use the Get Profiles API to get this ID.
Header
Authorization: Zoho-oauthtoken 100xx.92d4xxxxxxxxxxxxx15f52
Scope
scope=ZohoCRM.settings.profiles.ALL
(or)
scope=ZohoCRM.settings.profiles.UPDATE
Sample Request
Copied
Input JSON
- namestring, mandatory
The name of the new profile. Accepts up to 50 characters.
- descriptionstring, optional
A description of the profile. Accepts up to 250 characters.
Sample Input
Copied
Possible Errors
- NO_PERMISSIONHTTP 403
You do not have permission to create a profile.
Resolution: Contact your administrator to upgrade your permission. - DUPLICATE_DATAHTTP 404
The profile you are trying to create already exists.
Resolution: The name of the profile is unique. Create a profile with a different name. - PROFILE_LIMIT_EXCEEDEDHTTP 404
You can have a maximum of 25 profiles for your org.
Resolution: Delete unwanted profiles to create new ones within the maximum limit.
Sample Response
Copied