Sessions
Create
Example request:
{ "data": { "type": "identity", "data": { "attributes": { "password": "password" } } }}
Example response:
{ "data": { "id": "98815bd8-f3e6-41ec-8c4a-25a431ac6ce4", "type": "identity", "attributes": { "accounts": [ { "name": "Account Name", "user": { "id": "36683a5a-ae4d-4019-bce2-23a17a63dda0", "name": "User Name" } } ] } }}
On success, this endpoint returns an identity, dispatches a Bearer token in Header and returns a summary of the accounts attached with this identity.
HTTP Request
POST /auth/signin
Arguments
Parameter | Description |
---|---|
Email address of the identity | |
password | Password of the identity |
Delete
This endpoint returns nothing but 204 no content.
HTTP Request
DELETE /auth/signout