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. <Check title="Required Permissions">The user must be an admin or have `project-manage-config:write` permissions.</Check>

Path parameters

projectRoleIdstringRequiredformat: "uuid"
The id of the project role.

Request

The model to update the permissions.
featurestring or nullOptional
The feature these permissions belong to.
accessLevelslist of strings or nullOptional
The access levels applied to this feature.

Response

OK
featurestring or null
The feature these permissions belong to.
accessLevelslist of strings or null
The access levels applied to this feature.
idstring or nullformat: "uuid"
The id of the permission.
createdOnstring or nullformat: "date-time"
The date this entity was created.
updatedOnstring or nullformat: "date-time"
The date this entity was last modified.