Enable or disable a user
PUT/api/v1/admin/users/:id/status
Enables or disables a user account. Disabled users cannot sign in. Administrators cannot disable their own account. The change is recorded in the audit log.
Access: Administrators only.
Request
Responses
- 204
- 400
- 401
- 403
No Content
Bad Request
Authentication is required or the provided credentials are invalid.
The authenticated user does not have permission to access this resource.