---
title: "Delete Contact"
method: DELETE
path: "/v1/agents/{agent_id}/contacts/{contact_id}"
tags: ["Contacts"]
---

# Delete Contact

`DELETE /v1/agents/{agent_id}/contacts/{contact_id}`

## Request

- Base URL: `https://api.agentline.cloud`
- URL: `https://api.agentline.cloud/v1/agents/{agent_id}/contacts/{contact_id}`
- Auth: HTTP bearer

Remove a contact from an agent's contact list.

Permanently deletes the contact; it cannot be restored, only saved again
with create_contact. Calls, messages and transcripts with that number
are not affected. Returns {"deleted": true, "contact_id", "agent_id"}, or
HTTP 404 if the agent has no contact with that ID.

## Path parameters

- `agent_id` string, required: ID (agt_...) of the agent whose contact list to use, from create_agent or list_agents.
- `contact_id` string, required: Contact ID (con_...) from create_contact or list_contacts.

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/agentline/apis/agentline-prepaid-phone-service-for-ai-agents.md) · [All operations](https://skmtc.dev/agentline/apis/agentline-prepaid-phone-service-for-ai-agents/llms.txt) · [OpenAPI document](https://skmtc.dev/agentline/apis/agentline-prepaid-phone-service-for-ai-agents/revisions/18c0bdbb4b30?raw)
