Creates, updates or deletes a permission of the role with the specified id.
Creates, updates or deletes a permission of the role.
If the permission already exist, and the 'AccessLevels' property of the model is not empty,
the permission will be updated. If the 'AccessLevels' property of the model is empty,
the permission will be deleted.
The permission will be created if it does not exist.
<Check title="Required Permissions">The user must be an admin or have `project-manage-config:write` permissions.</Check>
Path parameters
roleId
The id of the role.
Headers
Authorization
Bearer authentication of the form Bearer <token>
, where token is your auth token.
Request
The model to update the permissions.
feature
The feature these permissions belong to.
accessLevels
The access levels applied to this feature.
Response
OK
feature
The feature these permissions belong to.
accessLevels
The access levels applied to this feature.
id
The id of the permission.
createdOn
The date this entity was created.
updatedOn
The date this entity was last modified.
subdomains
The workspace’s subdomains. Read-only.
identityIds
The ids of identities assigned to this workspace. Read-only.