Custom Roles
Update Custom Role
Update a Custom Role, allowing you to set the name, api_id, description, and permissions of an already existing Custom Role.
post/custom_role/{custom_role_api_id}
Path parameters
custom_role_api_idstring required
API identifier of the custom role (api_id)
Query parameters
org_idinteger
Organization ID. Only PROVIDER users can specify a different organization. If not provided, defaults to your own organization.
Request body
Example request
{
"name": "My Custom Role",
"api_id": "my_custom_role",
"description": "This Custom Role is just an example for our API documentation",
"permissions": [
"business_edit",
"business_edit_name",
"review_read"
],
"org_id": 42
}Response
OK
Example response
{
"api_id": "my_custom_role"
}