> For the complete documentation index, see [llms.txt](https://developer.parvenu.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.parvenu.io/icp-enrichment/delete-icp.md).

# Delete ICP

Delete one of your ICPs by id.

## Delete ICP

<mark style="color:green;">`POST`</mark> `/delete_icp`

{% hint style="info" %}
Free — no credits are charged. ICPs are scoped to the caller: you can only delete ICPs that belong to your API key.
{% endhint %}

**Headers**

| Name         | Value              |
| ------------ | ------------------ |
| Content-Type | `application/json` |

**Body**

| Name      | Type    | Description                  |
| --------- | ------- | ---------------------------- |
| `api_key` | string  | Your API Key.                |
| `icp_id`  | integer | The id of the ICP to delete. |

**Response**

The ICP that was removed is returned under `data`, and `deleted` at the top level is `true` when it was removed. See [Response Format](/getting-started/response-format.md) for the fields every endpoint returns.

**Example**

{% tabs %}
{% tab title="Input" %}

```json
{
  "api_key": "your_api_key",
  "icp_id": 28
}
```

{% endtab %}

{% tab title="Output" %}

```json
{
  "status": "success",
  "data": {
    "id": 28,
    "name": "CTOs at Seed-Stage Fintech Startups",
    "summary": "Targeting Chief Technology Officers at early-stage financial technology companies in the United States.",
    "nl_text": "CTOs at seed-stage fintech startups in the US",
    "is_active": false,
    "match_threshold": 0.6
  },
  "credits_used": 0,
  "credits_remaining": 4005.0,
  "deleted": true,
  "success": true
}
```

{% endtab %}

{% tab title="Error" %}

```json
{
  "status": "error",
  "error": {
    "code": "not_found",
    "message": "ICP not found"
  },
  "success": false
}
```

{% endtab %}
{% endtabs %}
