Skip to navigation

Updates a permission for a project role.

Creates, updates, or removes the submitted permission for the specified project role. AI role permissions require an eligible workspace plan.

Required Permissions
The user must be an admin or have project-manage-config:write permissions.

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 nullOptional
The feature these permissions belong to.
accessLevelslist of strings or nullOptional
The access levels applied to this feature.
idstringOptionalformat: "uuid"
The id of the permission.
createdOnstringOptionalformat: "date-time"
The date this entity was created.
updatedOnstringOptionalformat: "date-time"
The date this entity was last modified.

Errors

400
Bad Request Error
404
Not Found Error