Skip to main content
cURL

Authorizations

x-api-key
string
header
required

Path Parameters

account_id
string
required

ID of the account to update

Body

application/json

Account information to update

id
string
required

The account identifier

email
string

The email associated with the account

phone
string

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

Maximum string length: 32
first_name
string

The account holder's first name

Maximum string length: 256
last_name
string

The account holder's last name

Maximum string length: 256
username
string

The username associated with the account

Maximum string length: 256
expected_countries
string[]

Countries the account 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 account

Response

Updated account information

project_id
string

The ID of the project

request_id
string

The ID of the request

account
object
num_sessions
integer

Number of sessions associated with this account

first_seen
string<date-time>

Timestamp when the account was first seen

last_seen
string<date-time>

Timestamp when the account was last seen

last_session
string

ID of the last session

decision
string

Decision about the account authenticity

account_score
number<float>

Overall account risk score

bot
number<float>

Bot detection score

multiple_accounts
number<float>

Multiple accounts detection score

risk_signals
number<float>

Risk signals score

accounts_linked
integer

Number of accounts linked to this account

country
string

Country code of the account

lists
string[]

Lists the account belongs to

unique_devices
object
unique_networks
object
email
object
risk_signal_average
object