Custom Roles
Switch to Custom Roles
Update the organization's Custom Roles switch status. This endpoint allows you to enable or disable the Custom Roles feature for the organization, provided the organization is allowed to make this change.
post/org/{org_id}/switch_to_custom_roles
Path parameters
org_idinteger required
Unique ID of the organization to which the resource belongs. Only PROVIDER users can access resources from a different organization than their own. If you are not a PROVIDER, this will default to the ID of your organization.
Request body
Example request
{
"switch_to_custom_roles": true
}Response
Successfully updated Custom Roles switch status
Example response
{
"status": "success",
"org_id": 123
}