API operation · domains group
DELETE
/domains/{name}/aliases/{alias}
First published 3 Oct 2026
0.1.0Unchanged since publicationRemove an alias from a domain
Who may call it
AdministratorResellerCustomer
Token scope, any of
domainsallAnswers200 OK
The alias must belong to the named domain. UrbeStack updates Apache, DNS and mail configuration and returns the updated aliases list.
An unknown domain returns 404. Access to an existing domain is limited to administrators, the domain owner and the owner's reseller. Other callers receive 403.
As a command
Run as root on the serverParameters
namepath ·DomainNameRequiredaliaspath ·DomainNameRequiredExample
See the API overview for how to set $API and $TOKEN.Request
curl -sS -X DELETE "$API/domains/example.com/aliases/example.com" \ -H "Authorization: Bearer $TOKEN"
Response ·
200 OK{
"aliases": [
{
"created_at": "2026-09-09T10:15:00Z",
"id": 1,
"name": "alice"
}
]
}Errors
12 errors, each a status and a sentence400Domain name required400Domain name too long400Invalid IPv4 address400Invalid IPv6 address400Invalid domain name400Invalid port400Invalid setting key401Authentication required403Insufficient privileges404'<alias>' is not an alias of '<name>'404Domain '<name>' not found404Setting '<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.1.0 on 3 Oct 2026.
urbestack.com/docs/api/delete-domains-name-aliases-alias/