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 have project-manage-config:write permissions.

Path parameters

projectRoleIdUUIDRequired

The id of the project role.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
featurestring or nullOptional

The feature these permissions belong to.

accessLevelslist of stringsOptional

The access levels applied to this feature.

Response

OK

featurestring or nullOptional

The feature these permissions belong to.

accessLevelslist of stringsOptional

The access levels applied to this feature.

idUUIDOptional

The id of the permission.

createdOndatetimeOptional

The date this entity was created.

updatedOndatetimeOptional

The date this entity was last modified.