delete_prompt
Permanently delete a prompt from your account. Past evaluation runs lose their prompt template reference with no possibility of restoration.
Instructions
Delete an existing prompt (Pro+ only, DELETE /v1/prompts/:id, 204 No Content). Scoped to your account (other accounts' ids return 404). WARNING: physical delete with no restore; past eval_runs' prompt_registry_id is SET NULL, losing the trace of which prompt template each run used (history comparisons can no longer be linked). Even when sunsetting an old version in a rotation, while past run traces remain it is safer to do a logical sunset via update_prompt with labels such as 'sunset'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| promptId | Yes | Target prompt id (list_prompts.prompts[].id) |