Skip to main content
POST
Update User Restrictions

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 restrictions.

restriction_topup
boolean | null

Block balance top-up

restriction_subscription
boolean | null

Block subscription purchase/renewal

restriction_reason
string | null

Reason for restrictions

Maximum string length: 500

Response

Successful Response

Response after restrictions update.

success
boolean
required
restriction_topup
boolean
required
restriction_subscription
boolean
required
message
string
required
restriction_reason
string | null