Skip to content

Identities

List of valid attributes:

AttributeDescriptionSpecifics
emailEmail address of the identityCannot be blank
last_used_account_idAccount ID that was last used with this identityCan only be set via switch account endpoint
passwordPassword of identityAt least 8 characters long

Show

Example response:

{
"data": {
"id": "e00b6429-01d2-43da-b9a7-5620f870fd18",
"type": "identity",
"attributes": {
...
}
}
}

This endpoint returns the currently logged in identity

HTTP Request

GET /api/v1/identity

Update

Example request:

{
"data": {
"type": "identity",
"attributes": {
"email": "[email protected]",
"password": "strong-password"
}
}
}

Example response:

{
"data": {
"id": "e00b6429-01d2-43da-b9a7-5620f870fd18",
"type": "identity",
"attributes": {
...
}
}
}

This endpoint updates the currently logged in identity

HTTP Request

PUT /api/v1/identity