Skip to main content
POST
Alias user
Use this endpoint to associate another id with a particular user. The new id becomes the primary id. All previous ids are kept in the user’s “aliases” field.

Authorizations

Authorization
string
header
required

API Key for your organization

X-App-ID
string
header
required

Project ID

Body

application/json

User alias - requires previous_id and id

id
string
required

The new ID of the user

previous_id
string
required

The previous ID of the user

Response

200 - application/json

User aliased

organization_id
string
required
app_id
string
required
user_id
string
required
id
string
required
aliases
string[]
required
created_at
string
required
traits
object
required