Creates or updates a permission for a project role.

<Check title="Required Permissions" icon="key">The user must be an admin or have `project-manage-config:write` permissions.</Check>

Authentication

AuthorizationBearer

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

Path parameters

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

Request

The model to create or update the project role permission.
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.
createdOndatetime or null
The date this entity was created.
updatedOndatetime or null
The date this entity was last modified.

Errors