nexlink/docs/api/session.md

349 B

GET /api/v1/session/{id}

Requires an authentication header

Returns a session with id = {id}

Response:

{
    "id": "string",
    "userId": "string"
}

DELETE /api/v1/session/{id}

Requires an authentication header

Revokes a session with id = {id}

Response:

{
    "id": "string",
    "userId": "string",
}