Skip to main content
PUT
Update User Active Status By ID

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string<uuid>
required

User ID (UUID).

Body

application/json
is_active
boolean

Whether the user is active.

Response

200 - application/json

Active status updated

id
string<uuid>

User ID.

email
string<email>

User email.

phone_number
string

Phone in E.164 format.

first_name
string

Given name.

last_name
string

Family name.

role
enum<string>

Assigned role. Admin can only be assigned via PUT /api/v1/auth/user/id/{id}/role by an existing admin.

Available options:
customer,
vendor,
subvendor,
user,
admin
kyc_status
string

Current KYC status.