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

# Delete Prompt

`DELETE /prompts/{prompt_id}`

Delete a prompt

👉 [Prompt docs](https://docs.litellm.ai/docs/proxy/prompt_management)

Example Request:
```bash
curl -X DELETE "http://localhost:4000/prompts/my_prompt_id" \
    -H "Authorization: Bearer <your_api_key>"
```

Example Response:
```json
{
    "message": "Prompt my_prompt_id deleted successfully"
}
```

## Path parameters

- `prompt_id` string, required

## Query parameters

- `environment` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-27** `b694deb1e459` — 2 info
  - api tag `prompts` added
  - api tag `Prompt Management` removed
- **2026-09-26** `cfac079bcc04` — 2 info
  - api tag `Prompt Management` added
  - api tag `prompts` removed
- **2026-09-25** `a4fccd4bf54d` — 2 info
  - api tag `prompts` added
  - api tag `Prompt Management` removed
- **2026-09-21** `6246f8d427b7` — 2 info
  - api tag `Prompt Management` added
  - api tag `prompts` removed
- **2026-09-19** `c357baf422ab` — 2 info
  - api tag `prompts` added
  - api tag `Prompt Management` removed

[Full history](https://skmtc.dev/flock/apis/litellm-api/changes/prompts/:prompt_id/delete.md)

---

[API](https://skmtc.dev/flock/apis/litellm-api.md) · [All operations](https://skmtc.dev/flock/apis/litellm-api/llms.txt) · [OpenAPI document](https://skmtc.dev/flock/apis/litellm-api/revisions/b694deb1e459?raw)
