Update Resource Permission
PATCH/api/v1/organisations/me/resource_permissions/:id
Update Resource Permission
Request
Path Parameters
id stringrequired
- application/vnd.api+json
Body
required
data
object
required
id stringrequired
type stringrequired
Possible values: [resource_permissions
]
attributes
object
actions string[]
only "read" and "write" are supported
Responses
- 200
Update Resource Permission
- application/vnd.api+json
- Schema
- Example (from schema)
Schema
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
{
"data": {
"id": "string",
"type": "string",
"attributes": {
"actions": [
"string"
],
"feature": true,
"name": "string",
"parent-name": "string",
"permissions-role": "string"
}
}
}
Loading...