---
title: "Remove an address"
method: DELETE
path: "/agents/{id}/addresses/{addressId}"
tags: ["Addresses"]
---

# Remove an address

`DELETE /agents/{id}/addresses/{addressId}`

## Request

- Base URL: `https://app.artil.ai/api`
- URL: `https://app.artil.ai/api/agents/{id}/addresses/{addressId}`
- Auth: one of:
  - HTTP bearer
  - OAuth 2
    - Authorization code: `https://mcp.artil.ai/oauth/authorize`
    - Token URL: `https://mcp.artil.ai/oauth/token` scopes: `agent`

Take an address on the workspace's own domain, a phone number or a Telegram bot from an agent. The workspace keeps a phone number for its next agent, and a bot stops sending its messages to Artil.

## Path parameters

- `id` string, uuid, required
- `addressId` string, required

## Response `204`

The address is gone

## Other responses

- `4XX`: The request failed; the error says why
- `5XX`: The request failed; the error says why

---

[API](https://skmtc.dev/artil/apis/artil-api.md) - [All operations](https://skmtc.dev/artil/apis/artil-api/llms.txt) - [OpenAPI document](https://skmtc.dev/artil/apis/artil-api/revisions/55db0efa0cb8?raw)
