API operation · mail group
DELETE
/botmail/keys/{id}
First published 18 Oct 2026
0.2.10Unchanged since publicationRevoke a bot key
Who may call it
AdministratorResellerCustomer
Token scope, any of
mailallAnswers200 OK
The key stops working immediately, and UrbeStack removes its webhook. 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" \ -H "Authorization: Bearer $TOKEN"
Response ·
200 OK{
"address": "info@example.com",
"id": 1,
"ok": true
}Errors
16 errors, each a status and a sentence400--id is required400Domain name required400Domain name too long400Invalid IPv4 address400Invalid IPv6 address400Invalid 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 foundNo 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.10 on 18 Oct 2026.
urbestack.com/docs/api/delete-botmail-keys-id/