---
title: "Delete a prompt."
method: DELETE
path: "/v1/prompts/{prompt_id}"
tags: ["Prompts"]
---

# Delete a prompt.

`DELETE /v1/prompts/{prompt_id}`

Delete a prompt.

## Path parameters

- `prompt_id` string, required — The identifier of the prompt to delete.

## Response `204`

The prompt was successfully deleted.

## Other responses

- `400` — The request was invalid or malformed
- `429` — The client has sent too many requests in a given amount of time
- `500` — The server encountered an unexpected error
- `default` — An error occurred

---

[API](https://skmtc.net/ogx-ai/apis/ogx-specification-stable-experimental-apis.md) · [All operations](https://skmtc.net/ogx-ai/apis/ogx-specification-stable-experimental-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ogx-ai/ogx-specification-stable-experimental-apis/revisions/f3f783962256/schema)
