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

# Delete Prompt

`DELETE /api/prompts/{prompt_id}/`

Unified view for single prompt operations (retrieve/update/delete).
Supports both JWT (dashboard) and API key (public API) authentication.

Superadmin: Can READ any prompt across all organizations via JWT.
            Can WRITE across organizations via JWT with an active
            staff_write:prompts (or broad staff_write) scope.
Regular users: Can only access prompts in their organization.

JWT auth uses pk lookup, API key auth uses prompt_id (partial match).

## Path parameters

- `prompt_id` string, required

## Headers

- `Authorization` string, required

## Response `200`

Successful response

---

[API](https://skmtc.net/keywordsai/apis/api-reference.md) · [All operations](https://skmtc.net/keywordsai/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/keywordsai/api-reference/versions/c26d550029f8/schema)
