roles
Updates permissions for a role.
Changed onUpdates permissions for a role. The submitted permission is added, changed, or removed for the role.
<Check title="Required Permissions" icon="key">The user must be an admin or have project-manage-config:write permissions.</Check>
post/roles/{roleId}/permissions
Request
- Base URL: https://api.awork.com/api/v1
- URL: https://api.awork.com/api/v1/roles/{roleId}/permissions
- Auth: HTTP bearer
Path parameters
roleIdstring uuid required
The id of the 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
PostRolePermissionsByRoleIdremoved and replaced withroles_PostRolePermissionsByRoleId
- info