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

# Delete Prompt

`DELETE /prompts/{prompt_id}`

## Request

- Base URL: `https://api.sea-lion.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sea-lion.ai/prompts/{prompt_id}`
- Auth: one of:
  - API key in header `x-litellm-api-key`
  - API key in header `x-litellm-api-key`
  - API key in header `x-litellm-api-key`
  - API key in header `x-litellm-api-key`
  - API key in header `x-litellm-api-key`
  - API key in header `x-litellm-api-key`

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

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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