Return Resource Permissions
GET/api/v1/organisations/me/resource_permissions
Return Resource Permissions
Request
Query Parameters
page int32
Default value: 1
Page offset to fetch.
per_page int32
Default value: 50
Number of results to return per page.
Responses
- 200
Return all resource permissions for user's organisation per roles - business_manager & group_manager
- application/vnd.api+json
- Schema
- Example (from schema)
Schema
Array [
]
data
object[]
required
id string
type string
attributes
object
actions string[]
feature boolean
Indicates whether permission applies to singular feature or collection of features a.k.a module
name string
parent-name string
permissions-role string
meta
object
required
total-count numberrequired
total-pages numberrequired
{
"data": [
{
"id": "string",
"type": "string",
"attributes": {
"actions": [
"string"
],
"feature": true,
"name": "string",
"parent-name": "string",
"permissions-role": "string"
}
}
],
"meta": {
"total-count": 0,
"total-pages": 0
}
}
Loading...