Deactivate a user
POST/v1/users/:id/deactivate
Deactivates an active or pending user.
Request
Responses
- 200
- 401
- 403
- 404
- 422
User deactivated
Missing or invalid bearer token
t_public_api feature flag disabled or caller lacks manage_org_users
User not found (err_user_not_found)
User is not active or pending (err_invalid_status_transition)