Custom Roles
Get Permissions
This endpoint will give you all of the permissions available to your organization. The permissions are categorized by section, and by subsection. The permissions available to your organization are based on the plans your organization subscribes to; and thus the features included in those plans.
get/permissions
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.
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
{
"sections": [
{
"name": "presence",
"order": 100,
"subsections": [
{
"name": "presence_pages",
"order": 100,
"permissions": [
{
"name": "business_edit",
"order": 100,
"feature": "business_edition",
"depends_on": null,
"disabled_for_roles": []
},
{
"name": "business_edit_name",
"order": 101,
"feature": "business_edition",
"depends_on": "business_edit",
"disabled_for_roles": []
}
]
}
]
}
]
}Changes
No recorded changes to this operation across all 2 revisions of this API.