v1

latestOpenAPI 3.0.3MIT2026-07-17323590.7 KB
Sessions

Set current session

Sets the specified session as the current active session for the user/org. Pass empty string to clear the current session.

put/api/sessions/current

Headers

X-Grafana-Org-Idstring

Grafana organization ID for multi-tenant isolation. Defaults to '1' if not provided.

Request body

sessionIdstring required

Session ID to set as current (empty string to clear)

Response

Current session updated

successboolean