Blesyum Core

sessions

2 endpoints · /api/v1/sessions

Request examples are generated from each endpoint's REAL method and path. 2 endpoints have no hand-verified body example yet; their skeleton has no body — we do not invent field names.

GET/api/v1/sessions

List the user's active sessions, marking the current one (IAM-20).

Oturum
İstek
curl -X GET "https://api.blesyum.com/api/v1/sessions" \
  -H "Authorization: Bearer <oturum-token>" \
  -H "Accept: application/json"
Yanıt
{
  "data": "…",
  "trace_id": "01JC…"
}
POST/api/v1/sessions/revoke

Revoke one session, or (all=true) every OTHER session, keeping the current

Oturum

one alive (IAM-21). Use logout to end the current session.

İstek
curl -X POST "https://api.blesyum.com/api/v1/sessions/revoke" \
  -H "Authorization: Bearer <oturum-token>" \
  -H "Accept: application/json"
Yanıt
{
  "data": "…",
  "trace_id": "01JC…"
}
Bu sayfa işine yaradı mı?