Skip to main content
POST
Lock the caller-org membership for a user

Authorizations

Authorization
string
header
required

Organization API key (org_…), sent as Authorization: Bearer <key>. Keys are scoped to one organization; every request operates within that tenant.

Path Parameters

userId
string
required

Body

application/json
reason
string
required
Minimum string length: 1

Response

Membership locked

id
string
required
email
string
required
display_name
string | null
required
first_name
string | null
required
last_name
string | null
required
country
string | null
required
age_band
enum<string>
required
Available options:
under_13,
13_15,
16_17,
adult,
unknown
dob_verification_status
enum<string>
required
Available options:
unverified,
self_declared,
verified
last_active_at
string | null
required
status
enum<string>
required
Available options:
active,
locked,
deleted
wallet
object | null
required
membership
object
required