Skip to main content
cURL

Authorizations

x-api-key
string
header
required

Path Parameters

user_id
string
required

ID of the user to update

Body

application/json

User information to update

id
string

The user identifier

email
string

The email associated with the user

phone
string

The phone number on file for the user in E.164 format (e.g. +14155550123)

Maximum string length: 32
first_name
string

The user's first name

Maximum string length: 256
last_name
string

The user's last name

Maximum string length: 256
username
string

The username associated with the user

Maximum string length: 256
expected_countries
string[]

Countries the user is expected to legitimately operate from, as ISO 3166-1 alpha-2 codes. A non-empty list replaces the stored list; an empty or omitted list leaves the stored list unchanged.

Required string length: 2
metadata
object

Additional metadata about the user

Response

Updated user information

metadata
object
decisions
object
user
object