Deactivate a user
Deactivate a user by their ID. Users cannot be deleted, only deactivated. Only administrators are allowed to perform this operation.
Path Parameters |
---|
id string — REQUIREDUnique identifier of the user to deactivate. Example:
|
Responses |
---|
200 User deactivated successfully. |
403 Not authorized to deactivate users. |
404 User with the specified ID not found. |