DELETE/ai/external_pages/{page_id}

Delete an external page

Deletes an external page from your Fin Content Library and removes it from use in AI answers. Use the page identifier to select the external page to remove.

2 parameters
page_idstringrequired
The unique identifier of the external page to delete.
Intercom-Versionstringoptional
The Intercom API version to use. Defaults to 2.17 when omitted.
Allowed:1.01.11.21.31.42.02.12.22.32.42.52.6Default:2.17

2 status codes
200Returns the external page object after it has been deleted from the content library and removed from use in AI answers.
typestringrequired
Always external_page
Allowed:external_pageDefault:external_page
idstringrequired
The unique identifier for the external page which is given by Intercom.
titlestringrequired
The title of the external page.
htmlstringrequired
The body of the external page in HTML.
urlstringoptional
The URL of the external page. This will be used by Fin to link end users to the page it based its answer on.
ai_agent_availabilitybooleanrequired
Whether the external page should be used to answer questions by AI Agent.
ai_copilot_availabilitybooleanrequired
Whether the external page should be used to answer questions by AI Copilot.
ai_sales_agent_availabilitybooleanoptional
Whether the external page should be used to answer questions by AI Sales Agent.
fin_availabilitybooleanoptional
Deprecated. Use ai_agent_availability and ai_copilot_availability instead.
localestringrequired
Always en
Allowed:enDefault:en
source_idintegerrequired
The unique identifier for the source of the external page which was given by Intercom. Every external page must be associated with a Content Import Source which represents the place it comes from and from which it inherits a default audience (configured in the UI). For a new source, make a POST request to the Content Import Source endpoint and an ID for the source will be returned in the response.
external_idstringrequired
The identifier for the external page which was given by the source. Must be unique for the source.
audience_idsarray<integer>optional
The list of audience IDs that this external page is targeted to for Fin AI Agent. Empty when the external page has no audience targeting.
created_atintegerrequired
The time when the external page was created.
updated_atintegerrequired
The time when the external page was last updated.
last_ingested_atintegerrequired
The time when the external page was last ingested.
401Returned when the request is unauthorized.

One documented failure

  • unauthorized

    Access Token Invalid

typestringrequired
The type is error.list
request_idstringoptional
errorsarray<object>required
An array of one or more error objects

Error handling

A 401 is returned when the request is unauthorized. The page_id path parameter identifies the external page to delete.