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
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

User ID

Responses

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json