projectRoles

Updates a permission for a project role.

Changed on

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

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

post/projectroles/{projectRoleId}/permissions

Request

  • Base URL: https://api.awork.com/api/v1
  • URL: https://api.awork.com/api/v1/projectroles/{projectRoleId}/permissions
  • Auth: HTTP bearer

Path parameters

projectRoleIdstring uuid required

The id of the project role.

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.

Changes

    • warning

      deleted the header request parameter Authorization

    • info

      the endpoint scheme security oauth2 was added to the API

    • info

      api operation id PostProjectRolePermissionsByProjectRoleId removed and replaced with projectRoles_PostProjectRolePermissionsByProjectRoleId