> ## 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.

# Gong Delete Generic Crm Integration: Inputs, Cost & CLI

> Delete a Generic CRM integration (/v2/crm/integrations). Includes inputs, outputs, pricing notes, Deepline CLI examples, and GTM automation guidance.

## 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=gong_delete_generic_crm_integration:{"integrationId":"{{integrationId}}","clientRequestId":"{{clientRequestId}}"}' --json
```

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

## Input Schema

| Name                      | Type      | Required | Default | Description                                                                                                                            |
| ------------------------- | --------- | -------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| `payload.integrationId`   | `integer` | Yes      |         | The ID of the integration to delete                                                                                                    |
| `payload.clientRequestId` | `string`  | Yes      |         | A unique identifier generated and sent by you to allow troubleshooting. Valid characters are letters, numbers, dashes and underscores. |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": ".public-api-info { background: rgb(222, 235, 255);}.public-api-tip { background: rgb(227, 252, 239);}.public-api-parameter { background: rgba(9,30,66,0.08);}.public-api-note { background: rgb(234, 230, 255);}.public-api-important { background: rgb(255, 250, 230);}.public-api-critical { background: rgb(255, 235, 230);}table, th, td { border: 1px solid gray; border-collapse: collapse;}th, td { padding: 5px;}th { text-align: left;}img { border: 2px solid #D3D5D9;} Asynchronously deletes a CRM integration and all its associated CRM objects (Accounts, Contacts, Deals, Leads, and Users). This endpoint gets the clientRequestId generated by you as the request identifier. Use this to check the status of the delete request by calling the /request-status endpoint,with the clientRequestId. A status of DONE indicates that the integration and all its associated crm objects have been successfully deleted. This may take up to 24 hours to be deleted. When accessed using a bearer token, this endpoint requires the 'api:crm:integration:delete' scope. Example DELETE https://api.gong.io/v2/crm/integrations?clientRequestId=1234&integrationId=6286478263646",
    "properties": {
      "integrationId": {
        "type": "integer",
        "description": "The ID of the integration to delete",
        "format": "int64"
      },
      "clientRequestId": {
        "type": "string",
        "description": "A unique identifier generated and sent by you to allow troubleshooting. Valid characters are letters, numbers, dashes and underscores."
      }
    },
    "required": [
      "integrationId",
      "clientRequestId"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output Schema

| Name          | Type     | Required | Default | Description                                    |
| ------------- | -------- | -------- | ------- | ---------------------------------------------- |
| `result.data` | `object` | Yes      |         | Provider response payload.                     |
| `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": "Provider response payload.",
        "properties": {
          "requestId": {
            "type": "string",
            "description": "A Gong request reference Id, generated for this request. Can be used for troubleshooting purposes."
          },
          "clientRequestId": {
            "type": "string",
            "description": "The clientRequestId sent in the request - used to monitor the request process"
          }
        },
        "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 gong_delete_generic_crm_integration --payload '{
  "integrationId": "integer",
  "clientRequestId": "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`.
