Custom Roles
Get Custom Roles switch status
Get the current status of the organization's switch to Custom Roles. This endpoint returns information about whether the organization has switched to Custom Roles and whether they are allowed to switch.
get/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.
Response
Successfully retrieved switch status
Example response
{
"org_id": 42,
"has_switched": true
}