Identities
List of valid attributes:
Attribute | Description | Specifics |
---|---|---|
Email address of the identity | Cannot be blank | |
last_used_account_id | Account ID that was last used with this identity | Can only be set via switch account endpoint |
password | Password of identity | At 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": { "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