Skip to content

Sessions

Create

Example request:

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

Example response:

{
"data": {
"id": "98815bd8-f3e6-41ec-8c4a-25a431ac6ce4",
"type": "identity",
"attributes": {
"email": "[email protected]",
"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

ParameterDescription
emailEmail address of the identity
passwordPassword of the identity

Delete

This endpoint returns nothing but 204 no content.

HTTP Request

DELETE /auth/signout