Public APIPrompts
Delete a prompt
Before deleting, clear both prompt_id and email_prompt_id references
from assistants. The server returns 409 conflict when the prompt is
still assigned through prompt_id; clients must not rely on that guard
to detect an email_prompt_id reference.
Authorization
bearerAuth AuthorizationBearer <token>
API key in the Authorization: Bearer <key> header.
Keys are created in the SMAO dashboard (Settings → API Keys).
In: header
Path Parameters
prompt_id*string
Match
^[a-f0-9]{24}$Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/prompts/65f8fa6f1a9d8e0012ab34cd"{ "data": {}}