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

> Delete a contact list and its contacts

Permanently deletes a contact list and all associated contacts.

<Warning>
  You cannot delete a contact list that is currently assigned to one or more campaigns. You must first remove or reassign the list from those campaigns.
</Warning>

### Path parameters

<ParamField path="id" type="string" required>
  The unique UUID of the contact list 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 \
    -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",
      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",
    {
      method: "DELETE",
      headers: { Authorization: `Bearer ${API_KEY}` },
    },
  );
  console.log(response.status);
  ```
</CodeGroup>

### Response

`204 No Content` on successful deletion.
