nexlink/docs/api/session.md
2025-12-25 00:24:40 +01:00

30 lines
375 B
Markdown

## GET /api/v1/session/{id}
_Requires an authentication header_
Returns a session with id = {id}
### Response:
```json
{
"id": "string",
"userId": "string",
"creationDate": 0
}
```
## DELETE /api/v1/session/{id}
_Requires an authentication header_
Revokes a session with id = {id}
### Response:
```json
{
"id": "string",
"userId": "string"
}
```