> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Intercom Delete External Page: Inputs, Cost & CLI Example

> Delete an external page. Intercom Intercom Delete External Page docs include request fields, response shape, pricing notes, and Deepline CLI examples.

## Run in Enrichment Spreadsheet

<Info>
  Use this function as a column step in `deepline enrich`.
</Info>

```bash theme={null}
deepline enrich --input leads.csv --output leads.enriched.csv --with 'result=intercom_delete_external_page:{"page_id":"{{page_id}}"}' --json
```

<Tip>
  Map payload values to spreadsheet columns with `{{column_name}}` placeholders.
</Tip>

## Input Schema

| Name              | Type     | Required | Default | Description                                                             |
| ----------------- | -------- | -------- | ------- | ----------------------------------------------------------------------- |
| `payload.page_id` | `string` | Yes      |         | The unique identifier for the external page which is given by Intercom. |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Sending a DELETE request for an external page will remove it from the content library UI and from being used for AI answers.",
    "properties": {
      "page_id": {
        "type": "string",
        "description": "The unique identifier for the external page which is given by Intercom."
      }
    },
    "required": [
      "page_id"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output Schema

| Name          | Type     | Required | Default | Description                                                     |
| ------------- | -------- | -------- | ------- | --------------------------------------------------------------- |
| `result.data` | `object` | Yes      |         | External pages that you have added to your Fin Content Library. |
| `result.meta` | `object` | No       |         | Additional response metadata (status, paging).                  |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "External pages that you have added to your Fin Content Library.",
        "properties": {
          "type": {
            "type": "string",
            "description": "Always external_page",
            "default": "external_page",
            "enum": [
              "external_page"
            ]
          },
          "id": {
            "type": "string",
            "description": "The unique identifier for the external page which is given by Intercom."
          },
          "title": {
            "type": "string",
            "description": "The title of the external page."
          },
          "html": {
            "type": "string",
            "description": "The body of the external page in HTML."
          },
          "url": {
            "type": "string",
            "description": "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_availability": {
            "type": "boolean",
            "description": "Whether the external page should be used to answer questions by AI Agent."
          },
          "ai_copilot_availability": {
            "type": "boolean",
            "description": "Whether the external page should be used to answer questions by AI Copilot."
          },
          "ai_sales_agent_availability": {
            "type": "boolean",
            "description": "Whether the external page should be used to answer questions by AI Sales Agent."
          },
          "fin_availability": {
            "type": "boolean",
            "description": "Deprecated. Use ai_agent_availability and ai_copilot_availability instead."
          },
          "locale": {
            "type": "string",
            "description": "Always en",
            "default": "en",
            "enum": [
              "en"
            ]
          },
          "source_id": {
            "type": "integer",
            "description": "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_id": {
            "type": "string",
            "description": "The identifier for the external page which was given by the source. Must be unique for the source."
          },
          "created_at": {
            "type": "integer",
            "description": "The time when the external page was created.",
            "format": "date-time"
          },
          "updated_at": {
            "type": "integer",
            "description": "The time when the external page was last updated.",
            "format": "date-time"
          },
          "last_ingested_at": {
            "type": "integer",
            "description": "The time when the external page was last ingested.",
            "format": "date-time"
          }
        },
        "required": [
          "id",
          "type",
          "title",
          "html",
          "ai_agent_availability",
          "ai_copilot_availability",
          "locale",
          "source_id",
          "created_at",
          "updated_at",
          "last_ingested_at",
          "external_id"
        ],
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Advanced: Direct CLI

<Info>
  Use direct execution for single payload debugging.
</Info>

```bash theme={null}
deepline tools execute intercom_delete_external_page --payload '{
  "page_id": "string"
}' --json
```

### CLI flags

| Flag                        | Description                                         |
| --------------------------- | --------------------------------------------------- |
| `--json`                    | Print machine-readable output.                      |
| `--wait`                    | Wait for terminal provider status when supported.   |
| `--debug`                   | Enable wait mode with additional status/log output. |
| `--wait-timeout SECONDS`    | Max seconds to wait in wait mode.                   |
| `--poll-interval SECONDS`   | Polling interval in seconds during wait mode.       |
| `--timeout SECONDS`         | Request timeout in seconds.                         |
| `--connect-timeout SECONDS` | Connection timeout in seconds.                      |

## Cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.
* Billing mode: `no_bill`.
