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

# Delete Phone Line

> Remove a phone line. Agents can no longer call from it.

Remove a phone line. Agents can no longer call from it. For a 60db number, its SIP login is revoked. Your 60db number stays in Dialer, and you can add it again later. Calls already made from the line keep their history.

## Request

### Headers

**Authorization** `string` *required*

Bearer token with your API key (scope `agents`)

### Path

**lineId** `string` *required*

The phone line `id` (UUID)

## Response

**200 OK**

```json theme={null}
{
  "success": true,
  "data": { "deleted": true }
}
```

## Errors

| Status | Code | Meaning |
| - | - | - |
| 404 | `PHONE_LINE_NOT_FOUND` | No phone line with this ID in your workspace |
| 502 | `AGENTS_UPSTREAM_UNAVAILABLE` | The call runtime could not remove the line. It was not deleted. Retry shortly |

## Example

```bash cURL theme={null}
curl -X DELETE https://api.60db.ai/agents/phone-lines/LINE_ID \
  -H "Authorization: Bearer your-api-key"
```

```javascript JavaScript theme={null}
await client.agents.phoneLines.delete(lineId);
```

```python Python theme={null}
client.agents.phone_lines.delete(line_id)
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.