---
title: "End a demo session now (admins only)."
method: DELETE
path: "/admin/demo-sessions/{sessionId}"
tags: ["Admin"]
---

# End a demo session now (admins only).

`DELETE /admin/demo-sessions/{sessionId}`

## Request

- Base URL: `https://docs.sleeperhit.studio/api/v1`
- URL: `https://docs.sleeperhit.studio/api/v1/admin/demo-sessions/{sessionId}`
- Auth: HTTP bearer

Deletes the minted session: its cookies stop working on the next request. 404 `demo_session_not_found` for anything but a live minted demo session. Audited. Scope: `account:write`. Free.

## Response `200`

The session ended.

- DemoSessionRevoke
  - `sessionId` string, required
  - `revoked` boolean, required

## Other responses

- `401`: Missing, malformed, revoked, or expired API key.
- `403`: API key is valid but lacks the scope, is blocked by IP allowlist, or the account is disabled.
- `429`: Rate limit for this API key + IP + route family was exceeded.
- `500`: The API failed unexpectedly. Safe to retry with the same Idempotency-Key.

---

[API](https://skmtc.dev/sleeperhit/apis/sleeper-hit-studio-story-api.md) · [All operations](https://skmtc.dev/sleeperhit/apis/sleeper-hit-studio-story-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sleeperhit/apis/sleeper-hit-studio-story-api/revisions/4534f5d25540?raw)
