API operation · mail group
DELETE
/botmail/keys/{id}/address/old
First published 22 Oct 2026
0.2.15Unchanged since publicationDisable a bot key's previous MCP URL
Who may call it
AdministratorResellerCustomer
Token scope, any of
mailallAnswers200 OK
The previous MCP URL stops working immediately. The 200 response includes the updated key details. The API returns 404 if the key is missing or the caller lacks access to it.
As a command
Run as root on the serverParameters
idpath ·integer, 1 or moreRequiredExample
See the API overview for how to set $API and $TOKEN.Request
curl -sS -X DELETE "$API/botmail/keys/1/address/old" \ -H "Authorization: Bearer $TOKEN"
Response ·
200 OK{
"key": {
"address": "info@example.com",
"address_made_at": "text",
"blocked": [
"text"
],
"calls_per_minute": 1,
"ceilings": {},
"copy_to": "text",
"created_at": "2026-09-09T10:15:00Z",
"dead_why": "text",
"expires_at": "2026-09-16T10:15:00Z",
"folders_out": [
"drafts"
],
"from_addresses": [
"text"
],
"from_name": "text",
"host": "text",
"id": 1,
"key_hint": "text",
"keyword": "text",
"live": true,
"login": "text",
"mailbox": {},
"may": [
"read"
],
"mcp_address": "text",
"name": "alice",
"old_key_hint": "text",
"package_botmail": true,
"paused": true,
"paused_at": "text",
"paused_by": "owner",
"paused_by_name": "text",
"platform": "text",
"recipients": [
"text"
],
"recipients_per_message": 1,
"send_mode": "self",
"sends_per_day": 1,
"sends_per_hour": 1,
"updated_at": "text",
"usage": {},
"used_by_person": true,
"user": "alice"
}
}Errors
19 errors, each a status and a sentence400--id is required400Domain name required400Domain name too long400Invalid IPv4 address400Invalid IPv6 address400Invalid boolean400Invalid domain name400Invalid id400Invalid port400Invalid setting key400Invalid username: 2 to 32 lowercase letters, digits or underscores, starting with a letter400Username '<value>' is reserved401Authentication required404No such bot connector: <c.params>{id}404No such bot connector: <id>404No such domain: <domain>404Setting '<key>' not found409BotMail is not on for <k.domain>: turn it on for the domain first409The bot connector <k.name> has no old addressNo error of this operation matches.
Generated from release 0.2.35 (current) · the API’s own descriptionThis entry has been unchanged since it was first published in release 0.2.15 on 22 Oct 2026.
urbestack.com/docs/api/delete-botmail-keys-id-address-old/