roles
Archives or unarchives the role.
Changed onArchives or unarchives the role. An archived role still exists for all users currently using it, but users can no longer be assigned to this role.
<Check title="Required Permissions" icon="key">The user must be an admin or have task-manage-config:write permissions.</Check>
post/roles/{roleId}/setarchived
Request
- Base URL: https://api.awork.com/api/v1
- URL: https://api.awork.com/api/v1/roles/{roleId}/setarchived
- 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
PostRoleSetArchivedByRoleIdremoved and replaced withroles_PostRoleSetArchivedByRoleId
- info