Basics

Delete Prompt

Deletes a prompt. Soft-deletes when the prompt already has responses, otherwise hard-deletes.

delete/api/v1/prompts/{prompt_id}

Request

  • Base URL
    https://api.athenahq.ai
  • Auth
    API key in header x-api-key

Path parameters

prompt_idstring uuid required

The prompt to delete.

Query parameters

website_idstring uuid required

Website that owns the prompt.

Response

Prompt deleted

successboolean required
soft_deletedboolean required

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

Example response

{
  "success": true
}

Changes

No recorded changes to this operation across all 3 revisions of this API.