Creates, updates or deletes a permission of a project role with the specified id.
Creates, updates or deletes a permission of the project 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.
Subscription Level
This endpoint requires the Standard plan or higher.Required Permissions
The user must be an admin or haveproject-manage-config:write
permissions.Path parameters
projectRoleId
The id of the project role.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
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.