Skip to main content
POST
Update User Status

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

user_id
integer
required

Body

application/json

Request to update user status.

status
enum<string>
required

User status enum.

Available options:
active,
blocked,
deleted
reason
string | null

Reason for status change

Maximum string length: 500

Response

Successful Response

Response after status update.

success
boolean
required
old_status
string
required
new_status
string
required
message
string
required