Retire the project's mail domain while the project stays active
mail_domain_deleteRetire the project's mail domain while the project stays active; use its Prod environment ID. Sending and receiving stop at once, then its provider domain and key are removed. DNS is not changed: remove the returned dns_records from the domain's DNS. Only when the customer no longer wants mail or wants a different mail domain. Requires confirm: true; repeat the same key after uncertainty.
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": {
"idempotency_key": "<idempotency_key>",
"project_id": "<project_id>",
"environment_id": "<environment_id>",
"confirm": "<confirm>"
},
"name": "mail_domain_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | ||
| project_id | Yes | ||
| environment_id | Yes | ||
| idempotency_key | Yes | Identifies one mutation and its canonical request payload. |