roles
Deactivates the user.
Changed onDeactivates the user. The user's sign-in status changes for the workspace.
<Check title="Required Permissions" icon="key">The user must be an admin or have workspace-manage-config:write permissions.</Check>
post/roles/{roleId}/users/{userId}/deactivate
Request
- Base URL: https://api.awork.com/api/v1
- URL: https://api.awork.com/api/v1/roles/{roleId}/users/{userId}/deactivate
- Auth: HTTP bearer
Path parameters
roleIdstring uuid required
The id of the role.
userIdstring uuid required
The id of the user.
Response
OK
Roles Post Role User Deactivate By Role Id And User Id Response200 required
Empty response body
Changes
- warning
deleted the
headerrequest parameterAuthorization - info
the endpoint scheme security
oauth2was added to the API
- warning
- info
api operation id
PostRoleUserDeactivateByRoleIdAndUserIdremoved and replaced withroles_PostRoleUserDeactivateByRoleIdAndUserId
- info