To set permissions for agents with custom roles in Zendesk, you need to use the Custom Objects Permissions API. This involves adding a custom property to the permissions policy in your request and specifying the ID of the custom agent role.
Once you've done that, you can set the permissions for that role, deciding who can create, read, update, and delete custom objects. Remember, if a custom role ID isn't added to a permissions policy, the agent's permissions will default to the generic agent role permissions.
Custom object permissions in Zendesk allow you to control who can create, read, update, and delete custom objects. This feature is particularly useful for agents with assigned custom roles, as it lets you tailor permissions to fit specific needs….
When using custom permissions with custom objects in Zendesk, there are a few important rules to keep in mind. First, you must specify the ID of a custom agent role in the permissions policy. You can get these IDs using the List Custom Roles…
If a custom role ID is not added to a permissions policy in Zendesk, the agent's permissions will default to the generic agent role permissions. This means that the specific permissions you might want to set for a custom role won't be applied…
To retrieve custom role IDs in Zendesk, you need to use the List Custom Roles endpoint from your Support account. This endpoint will provide you with the IDs necessary to specify in your permissions policy when setting custom object permissions….