---
title: "destroy"
method: DELETE
path: "/api/prompts/{id}"
tags: ["Prompt"]
---

# destroy

`DELETE /api/prompts/{id}`

## Path parameters

- `id` string, required

## Response `204`

Prompt deleted successfully

## Other responses

- `401` — Unauthorized - authentication credentials are missing or invalid
- `403` — Forbidden - insufficient permissions to access this resource
- `404` — Prompt not found

---

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