---
title: "Delete Prompt"
method: DELETE
path: "/api/v1/prompts/{prompt_id}"
tags: ["Basics"]
---

# Delete Prompt

`DELETE /api/v1/prompts/{prompt_id}`

Deletes a prompt. Soft-deletes when the prompt already has responses, otherwise hard-deletes.

## Path parameters

- `prompt_id` string, uuid, required

## Query parameters

- `website_id` string, uuid, required

## Response `200`

Prompt deleted

- object
  - `success` boolean, required
  - `soft_deleted` boolean, required — True when soft-deleted (had responses); false when hard-deleted.

## Other responses

- `401` — Unauthorized - Invalid or missing API key
- `403` — Forbidden - You don't have access to this website
- `404` — Not found - Prompt not found
- `500` — Internal server error

---

[API](https://skmtc.net/athenahq/apis/athenahq-api.md) · [All operations](https://skmtc.net/athenahq/apis/athenahq-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/athenahq/athenahq-api/revisions/6c5d71622cb9/schema)
