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

# Delete a prompt

`DELETE /prompts/v1/{promptId}`

## Request

- Base URL: `https://api.langdock.com`
- URL: `https://api.langdock.com/prompts/v1/{promptId}`
- Auth: HTTP bearer

Permanently deletes a prompt from your workspace.

## Path parameters

- `promptId` string, uuid, required

## Response `200`

Prompt deleted successfully

- object
  - `success` boolean, required

## Other responses

- `400`: Invalid prompt ID
- `401`: Invalid or missing API key
- `403`: Missing required scope or write access
- `404`: Prompt not found
- `429`: Rate limit exceeded
- `500`: Internal server error

## Changes

- **2026-11-03** `c62bf90b4013`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/langdock/apis/langdock-api/changes/prompts/v1/:promptId/delete.md)

---

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