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

# Delete contact

> Delete a contact and its campaign attempt history

Deletes a single contact from a contact list. Associated call attempt records are automatically removed.

<Warning>
  If this contact list is currently associated with an active campaign, deleting contacts is prohibited if the remaining contact count would drop below the 2-contact minimum.
</Warning>

### Path parameters

<ParamField path="listId" type="string" required>
  The unique UUID of the contact list.
</ParamField>

<ParamField path="id" type="string" required>
  The unique UUID of the contact to delete.
</ParamField>

<CodeGroup>
  ```bash curl theme={null}
  curl -X DELETE https://api.agentic-os.com/api/v1/contact-lists/33333333-3333-3333-3333-333333333333/contacts/99999999-8888-7777-6666-555555555555 \
    -H "Authorization: Bearer $AGENTIC_OS_API_KEY"
  ```

  ```python Python theme={null}
  import requests

  response = requests.delete(
      "https://api.agentic-os.com/api/v1/contact-lists/33333333-3333-3333-3333-333333333333/contacts/99999999-8888-7777-6666-555555555555",
      headers={"Authorization": f"Bearer {API_KEY}"},
  )
  print(response.status_code)
  ```

  ```javascript Node theme={null}
  const response = await fetch(
    "https://api.agentic-os.com/api/v1/contact-lists/33333333-3333-3333-3333-333333333333/contacts/99999999-8888-7777-6666-555555555555",
    {
      method: "DELETE",
      headers: { Authorization: `Bearer ${API_KEY}` },
    },
  );
  console.log(response.status);
  ```
</CodeGroup>

### Response

`204 No Content` on successful deletion.
