Custom Roles
Get Custom Role
Get the details of a specific Custom Role.
get/custom_role/{custom_role_api_id}
Request
- Base URLhttps://api.partoo.co/v2
- AuthAPI key in header x-APIKey
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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.
Response
OK
Example response
{
"name": "This is My Custom Role",
"api_id": "this_is_my_custom_role",
"description": "It has a custom permission configuration!",
"org_id": 42,
"permissions": [
"business_edit",
"business_edit_open_hours"
]
}Changes
No recorded changes to this operation across all 2 revisions of this API.