---
title: "Unpublish a pitch deck: its share link goes dark."
method: POST
path: "/pitch-decks/{jobId}/unpublish"
tags: ["Pitch Deck"]
---

# Unpublish a pitch deck: its share link goes dark.

`POST /pitch-decks/{jobId}/unpublish`

## Request

- Base URL: `https://docs.sleeperhit.studio/api/v1`
- URL: `https://docs.sleeperhit.studio/api/v1/pitch-decks/{jobId}/unpublish`
- Auth: HTTP bearer

Take a published deck down: its share link goes dark and the deck can be deleted again (DELETE /pitch-decks/{jobId}). Its own edits stay. No status gate — a deck taken live can always be taken back down, and a deck that is not published is a no-op. NOT metered and NOT confirmed. Requires `Idempotency-Key`. Scope: `story:write`.

## Headers

- `Idempotency-Key` string, required

## Response `200`

The deck is unpublished.

- PitchDeckUnpublish: A deck taken down: its share link is dark and it can be deleted again.
  - `success` true, 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.
- `404`: The named project or source does not exist or is owned by another account.
- `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)
