v1

latestOpenAPI 3.1.02026-08-066984441.1 MB
projectRoles

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>

post/projectroles/{projectRoleId}/permissions

Path parameters

projectRoleIdstring uuid required

The id of the project role.

Headers

Authorizationstring required

Bearer authentication

Request body

featurestring nullable

The feature these permissions belong to.

accessLevelsstring[] nullable

The access levels applied to this feature.

Response

OK

featurestring nullable

The feature these permissions belong to.

accessLevelsstring[] nullable

The access levels applied to this feature.

idstring uuid

The id of the permission.

createdOnstring date-time

The date this entity was created.

updatedOnstring date-time

The date this entity was last modified.