roles
Deletes the role.
Changed onDeletes the role. Users assigned to the role must be moved before it is removed.
<Check title="Required Permissions" icon="key">The user must be an admin or have workspace-manage-config:write permissions.</Check>
post/roles/{roleId}/delete
Request
- Base URL: https://api.awork.com/api/v1
- URL: https://api.awork.com/api/v1/roles/{roleId}/delete
- Auth: HTTP bearer
Path parameters
roleIdstring uuid required
The id of the role.
Request body
Response
No Content
object required
Changes
- warning
deleted the
headerrequest parameterAuthorization - info
the endpoint scheme security
oauth2was added to the API
- warning
- info
api operation id
PostRoleDeleteByRoleIdremoved and replaced withroles_PostRoleDeleteByRoleId
- info