---
title: "Delete a finished or ended season run that published nothing."
method: DELETE
path: "/season-runs/{runId}"
tags: ["Seasons"]
---

# Delete a finished or ended season run that published nothing.

`DELETE /season-runs/{runId}`

## Request

- Base URL: `https://docs.sleeperhit.studio/api/v1`
- URL: `https://docs.sleeperhit.studio/api/v1/season-runs/{runId}`
- Auth: HTTP bearer

A human decision: call only after the user explicitly agrees. Removes the run and its episode rows for good, so it leaves GET /story-projects/{projectId}/season-runs. What it made stays: its plans, jobs, finished videos and releases keep their own rows (they only lose the link back to the run), so videos stay in Videos and releases in Publishing. Refused with 409 `season_run_state_invalid` and one plain sentence when the run is still live (end it first with POST /season-runs/{runId}/end), when it published an episode, when one of its releases is scheduled or publishing, or while a recording, episode job or video render it started is still running. Free.

## Response `200`

The season run is deleted.

- SeasonRunDeleteResult
  - `deleted` object, required
    - `runId` string, required
    - `title` string, required
    - `episodes` integer, required: How many episode rows went with the run.
    - `sentence` string, required: The whole answer in one sentence, to read to the user.

## 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.
- `404`: The season run does not exist, was deleted, or is owned by another account.
- `409`: The season run or episode is not at the required human-approved lifecycle state. Reload the run and follow nextAction.
- `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/64c1102ccb2f?raw)
