Skip to main content

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 — REQUIRED

Unique identifier of the user to deactivate.

Example: 123e4567-e89b-12d3-a456-426614174000

Responses
200

User deactivated successfully.

403

Not authorized to deactivate users.

404

User with the specified ID not found.