For the complete documentation index, see llms.txt. This page is also available as Markdown.

Delete ICP

Delete one of your ICPs by id.

Delete ICP

POST /delete_icp

Free — no credits are charged. ICPs are scoped to the caller: you can only delete ICPs that belong to your API key.

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 for the fields every endpoint returns.

Example

{
  "api_key": "your_api_key",
  "icp_id": 28
}
{
  "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
}
{
  "status": "error",
  "error": {
    "code": "not_found",
    "message": "ICP not found"
  },
  "success": false
}