---
title: "Delete a prompt"
method: DELETE
path: "/v1/workspaces/{id}/prompts/{promptId}"
tags: ["Prompts"]
---

# Delete a prompt

`DELETE /v1/workspaces/{id}/prompts/{promptId}`

Deletes the prompt. It is removed from any brand report it is part of, and affected brand reports are recalculated without it (asynchronously).

## Path parameters

- `id` string, required — Workspace identifier.
- `promptId` string, required — Prompt identifier.

## Response `204`

Prompt deleted. Brand-report recalculation completes asynchronously.

## Other responses

- `400` — Validation failed.
- `401` — Unauthorized.
- `403` — Forbidden.
- `404` — Prompt not found.
- `429` — Quota exhausted.

---

[API](https://skmtc.net/otterly/apis/otterly-public-api.md) · [All operations](https://skmtc.net/otterly/apis/otterly-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/otterly/otterly-public-api/versions/49f12c5f26c7/schema)
