Patronus AI APIPrompts
Delete Prompt Definitions
Delete prompt definitions with either a specific ID or all for a project.
Either prompt_id or project_id must be provided. If prompt_id is provided, deletes only that prompt definition. If project_id is provided, deletes all prompt definitions for that project. Returns 204 No Content on success.
DELETE
/
v1
/prompt-definitions
Authorization
X-API-KEY
<token>
In: header
Query Parameters
project_id
Project Id
Delete all prompt definitions for this project
prompt_id
Prompt Id
Delete a specific prompt definition by ID
Successful Response