Skip to main content
DELETE
/
api
/
v1
/
prompts
/
{prompt_id}
Delete Prompt
curl --request DELETE \
  --url https://api.athenahq.ai/api/v1/prompts/{prompt_id} \
  --header 'x-api-key: <api-key>'
{
  "success": true,
  "soft_deleted": true
}

Authorizations

x-api-key
string
header
required

API key for authentication. You can create one here.

Path Parameters

prompt_id
string<uuid>
required

The prompt to delete.

Query Parameters

website_id
string<uuid>
required

Website that owns the prompt.

Response

Prompt deleted

success
boolean
required
Example:

true

soft_deleted
boolean
required

True when soft-deleted (had responses); false when hard-deleted.