# Delete prompt content

> Send no body.

See [prompt workflows](https://revise.io/developer/docs/revise-api/prompts) for integration guidance.

Deletes retained content, not the billing receipt. This is separate from cancelling active work. See [retention](https://revise.io/developer/docs/revise-api/files#retention).

## TypeScript

```ts
import { ReviseClient } from "@reviseio/api";

const revise = new ReviseClient({ apiKey: process.env.REVISE_API_KEY! });
await revise.prompts.deleteContent("prompt_id");
```

`DELETE https://revise.io/api/v1/prompt/{id}/content`

Send no body. Delete retained prompt/result content, customer metadata, document state, artifacts, and the claimed ephemeral upload. Persistent source templates are excluded. Status and accounting receipts remain. Repeated deletion succeeds; active or pinned content returns 409.

## Authorization

`Authorization: Bearer <key>` with an API key from https://revise.io/console/api-keys.

## Path parameters

- `id` (string, required)

## Responses

### 204

Deleted; status, receipt and idempotency tombstone remain


### default `Error`

Error

- `error` (object, required)
  - `code` (string, required)
  - `message` (string, required)
  - `details` (object)
