users
Deactivates the user.
Changed onDeactivates the user. A deactivated user can no longer sign in. This is only possible if the user is not the last admin user.
<Check title="Required Permissions" icon="key">The user must be an admin or have user-manage-config:write permissions.</Check>
post/users/{userId}/deactivate
Request
- Base URL: https://api.awork.com/api/v1
- URL: https://api.awork.com/api/v1/users/{userId}/deactivate
- Auth: HTTP bearer
Path parameters
userIdstring uuid required
The id of the user.
Query parameters
includeSummaryboolean
Whether to return the private project orphan resolution summary.
Response
OK
Changes
- warning
deleted the
headerrequest parameterAuthorization - info
the endpoint scheme security
oauth2was added to the API
- warning
- info
api operation id
PostUserDeactivateByUserIdremoved and replaced withusers_PostUserDeactivateByUserId
- info