---
title: "Delete prompt"
method: DELETE
path: "/api/users/prompts/{id}"
tags: ["users/prompts"]
---

# Delete prompt

`DELETE /api/users/prompts/{id}`

## Request

- Base URL: `https://localhost:8080`
- URL: `https://localhost:8080/api/users/prompts/{id}`
- Auth: `bearer` (a scheme the document does not define)

## Path parameters

- `id` string, required

## Response `200`

- DeletePromptResponseDto
  - `success` boolean, required
  - `deletedId` string, required

## Other responses

- `401`: Unauthorized
- `404`: Prompt not found

---

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