projectRoles
Updates a permission for a project role.
Changed onCreates, 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
Response
OK
Changes
- warning
deleted the
headerrequest parameterAuthorization - info
the endpoint scheme security
oauth2was added to the API
- warning
- info
api operation id
PostProjectRolePermissionsByProjectRoleIdremoved and replaced withprojectRoles_PostProjectRolePermissionsByProjectRoleId
- info