Skip to main content
GET
Get Custom Roles switch status

Authorizations

x-APIKey
string
header
required

The authentication system on Partoo API is using API Key that should be put in the header of the request (the name of the header is x-APIKey). An api_key is linked to a user. This user's role will give you different access level to the API features.

Path Parameters

org_id
integer
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

org_id
integer
required

Unique identifier of an organization in Partoo.

Example:

42

has_switched
boolean
required

Whether the organization has switched to Custom Roles

Example:

true

can_switch
boolean
required

Whether the organization is allowed to switch to Custom Roles

Example:

false