Deactivate user

Temporarily deactivates a user by setting their status to inactive (active=0).

Use Cases:

  • Temporarily disable a user's access without deleting them
  • Suspend users who need to be reactivated later
  • Maintain user records while preventing login

Important Notes:

  • Deactivated users cannot log in
  • Deactivated users can be reactivated at any time
  • For permanent removal, use the DELETE endpoint instead

Status Values:

  • 0: Inactive (deactivated) ← This endpoint sets this
  • 1: Active
Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!