---
title: "Clear current session"
method: DELETE
path: "/api/sessions/current"
tags: ["Sessions"]
---

# Clear current session

`DELETE /api/sessions/current`

## Request

- Base URL: `/api/plugins/consensys-asko11y-app/resources` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/plugins/consensys-asko11y-app/resources/api/sessions/current`
- Auth: one of:
  - API key in cookie `grafana_session`
  - HTTP bearer

Clears the current active session for the user/org. Equivalent to PUT with empty sessionId.

## Headers

- `X-Grafana-Org-Id` string

## Response `200`

Current session cleared

- object
  - `success` boolean

## Other responses

- `401`: Unauthorized (missing or invalid authentication)
- `500`: Internal server error

---

[API](https://skmtc.dev/consensys/apis/ask-o11y-ai-powered-observability-assistant-api.md) - [All operations](https://skmtc.dev/consensys/apis/ask-o11y-ai-powered-observability-assistant-api/llms.txt) - [OpenAPI document](https://skmtc.dev/consensys/apis/ask-o11y-ai-powered-observability-assistant-api/revisions/ee3ccd0f186d?raw)
