delete_domain
Delete a sending domain and tear down its identity. The operation returns a 409 error if the domain still has inboxes.
Instructions
Delete a sending domain and tear down its identity. Refused with a 409 (domain_in_use) if the domain still has inboxes (sending or receiving addresses).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "delete_domain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Domain id. | |
| sender | No | Product/sender externalId sent as X-Drin-Sender. Required only for account-wide API keys; overrides the server's default sender. |