Skip to main content
PATCH
Update administrative user fields

Authorizations

Authorization
string
header
required

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

Path Parameters

user
integer
required

Body

application/json
name
string
Maximum string length: 255
email
string<email>
role
string
avatar
string | null
banner
string | null
contact_info
object
customer_pin
string | null
loyalty_points
integer
Required range: x >= 0
subscribed_to_emails
boolean
email_verified
boolean
phone_verified
boolean
google2fa_enabled
boolean
discord_id
string | null
google_id
string | null
github_id
string | null
ip
string<ip> | null
supported_creator_code
string | null
creator_code_locked
boolean
stripe_id
string | null
pm_type
string | null
pm_last_four
string | null
Maximum string length: 4
pm_notes
string | null

Response

Successful response

data
any
required
meta
object
required
message
string