Knowledge Base

Delete Brand Facts

Changed on

Permanently deletes 1-50 brand facts from a website's Knowledge Base. There is no undo. Ids with no fact on the website are reported in not_found_ids instead of failing the call, so retries are idempotent. Requires a website-admin API key; on OAuth MCP connections the signed-in user must hold the admin role. Also available as the MCP tool delete_brand_facts.

post/api/v1/knowledge-base/facts/delete

Request

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

Request body

website_idstring uuid required

The website whose facts to delete.

fact_idsstring[] required

Facts to delete. A single delete is a one-element array.

Response

Deletion report

successtrue required
deleted_countinteger required

Facts actually deleted.

not_found_idsstring[] required

Requested ids with no fact on this website: already deleted or never existed.

Changes