# DomainName

First published 3 Oct 2026 (release 0.1.0) · Unchanged since publication

UrbeStack release 0.2.35 named type of the API.

A domain name is case-insensitive and stored in lowercase.

## Value

string, matching ^(?:[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?\.)+[A-Za-z][A-Za-z0-9-]{0,61}[A-Za-z0-9]\.?$, up to 254 characters

## Used by

- [PUT /botmail/domains/{name}](https://urbestack.com/docs/api/put-botmail-domains-name.md): Enable BotMail for a domain or change its BotMail hostname
- [DELETE /botmail/domains/{name}](https://urbestack.com/docs/api/delete-botmail-domains-name.md): Disable BotMail for a domain
- [GET /dns/replace](https://urbestack.com/docs/api/get-dns-replace.md): Find DNS records or preview a replacement
- [GET /dns/zones/{name}](https://urbestack.com/docs/api/get-dns-zones-name.md): Get a DNS zone and its records
- [DELETE /dns/zones/{name}](https://urbestack.com/docs/api/delete-dns-zones-name.md): Delete a server-owned zone or a DNS client's zone
- [POST /dns/zones/{name}/records](https://urbestack.com/docs/api/post-dns-zones-name-records.md): Add a record to a DNS zone
- [PATCH /dns/zones/{name}/records/{id}](https://urbestack.com/docs/api/patch-dns-zones-name-records-id.md): Update a record in a DNS zone
- [DELETE /dns/zones/{name}/records/{id}](https://urbestack.com/docs/api/delete-dns-zones-name-records-id.md): Delete a record from a DNS zone
- [POST /dns/zones/{name}/reset](https://urbestack.com/docs/api/post-dns-zones-name-reset.md): Reset a DNS zone
- [POST /dns/zones/{name}/taken](https://urbestack.com/docs/api/post-dns-zones-name-taken.md): Take over a DNS record set generated by UrbeStack
- [DELETE /dns/zones/{name}/taken](https://urbestack.com/docs/api/delete-dns-zones-name-taken.md): Return control of a DNS record set to UrbeStack
- [POST /dns/zones/{name}/ttl](https://urbestack.com/docs/api/post-dns-zones-name-ttl.md): Set TTLs for multiple records in a DNS zone
- [GET /domains/{name}](https://urbestack.com/docs/api/get-domains-name.md): Get a domain
- [PATCH /domains/{name}](https://urbestack.com/docs/api/patch-domains-name.md): Update a domain's settings
- [DELETE /domains/{name}](https://urbestack.com/docs/api/delete-domains-name.md): Delete a domain and its subdomains
- [GET /domains/{name}/aliases](https://urbestack.com/docs/api/get-domains-name-aliases.md): List a domain's aliases
- [POST /domains/{name}/aliases](https://urbestack.com/docs/api/post-domains-name-aliases.md): Add an alias to a domain
- [DELETE /domains/{name}/aliases/{alias}](https://urbestack.com/docs/api/delete-domains-name-aliases-alias.md): Remove an alias from a domain
- [GET /domains/{name}/certificate](https://urbestack.com/docs/api/get-domains-name-certificate.md): Get a domain's TLS certificate status
- [POST /domains/{name}/certificate](https://urbestack.com/docs/api/post-domains-name-certificate.md): Request a TLS certificate for a domain
- [DELETE /domains/{name}/certificate](https://urbestack.com/docs/api/delete-domains-name-certificate.md): Remove a domain's TLS certificate
- [PUT /domains/{name}/certificate/custom](https://urbestack.com/docs/api/put-domains-name-certificate-custom.md): Install a custom TLS certificate for a domain
- [GET /domains/{name}/dns](https://urbestack.com/docs/api/get-domains-name-dns.md): Get the DNS zones for a domain and its aliases
- [POST /domains/{name}/dns/records](https://urbestack.com/docs/api/post-domains-name-dns-records.md): Add a DNS record to a domain or alias zone
- [PATCH /domains/{name}/dns/records/{id}](https://urbestack.com/docs/api/patch-domains-name-dns-records-id.md): Update a DNS record
- [DELETE /domains/{name}/dns/records/{id}](https://urbestack.com/docs/api/delete-domains-name-dns-records-id.md): Delete a DNS record
- [POST /domains/{name}/dns/reset](https://urbestack.com/docs/api/post-domains-name-dns-reset.md): Reset a DNS zone to its template
- [GET /domains/{name}/logs/{type}](https://urbestack.com/docs/api/get-domains-name-logs-type.md): Read lines from a domain's access, error or PHP error log
- [GET /domains/{name}/logs/{type}/content](https://urbestack.com/docs/api/get-domains-name-logs-type-content.md): Get a domain's access, error or PHP error log as base64
- [GET /domains/{name}/mail](https://urbestack.com/docs/api/get-domains-name-mail.md): Get the domain's mail settings and configuration status
- [PATCH /domains/{name}/mail](https://urbestack.com/docs/api/patch-domains-name-mail.md): Update the domain's mail settings and spam policy
- [GET /domains/{name}/mail/accounts](https://urbestack.com/docs/api/get-domains-name-mail-accounts.md): List the domain's mailboxes
- [POST /domains/{name}/mail/accounts](https://urbestack.com/docs/api/post-domains-name-mail-accounts.md): Create a mailbox on the domain
- [PATCH /domains/{name}/mail/accounts/{local}](https://urbestack.com/docs/api/patch-domains-name-mail-accounts-local.md): Update a mailbox or end its sessions
- [DELETE /domains/{name}/mail/accounts/{local}](https://urbestack.com/docs/api/delete-domains-name-mail-accounts-local.md): Delete a mailbox
- [GET /domains/{name}/mail/accounts/{local}/bot-keys](https://urbestack.com/docs/api/get-domains-name-mail-accounts-local-bot-keys.md): List a mailbox's bot keys
- [POST /domains/{name}/mail/accounts/{local}/bot-keys](https://urbestack.com/docs/api/post-domains-name-mail-accounts-local-bot-keys.md): Create a bot key for a mailbox
- [POST /domains/{name}/mail/accounts/{local}/webmail](https://urbestack.com/docs/api/post-domains-name-mail-accounts-local-webmail.md): Issue a webmail sign-in ticket for a mailbox
- [GET /domains/{name}/mail/check](https://urbestack.com/docs/api/get-domains-name-mail-check.md): Check the domain's mail DNS records
- [POST /domains/{name}/mail/check/fix](https://urbestack.com/docs/api/post-domains-name-mail-check-fix.md): Apply a fix offered by the domain's mail DNS check
- [PUT /domains/{name}/mail/default-address](https://urbestack.com/docs/api/put-domains-name-mail-default-address.md): Set how the domain handles mail for unknown recipients
- [POST /domains/{name}/mail/dkim/rotate](https://urbestack.com/docs/api/post-domains-name-mail-dkim-rotate.md): Rotate the domain's DKIM key
- [GET /domains/{name}/mail/filters](https://urbestack.com/docs/api/get-domains-name-mail-filters.md): List mail filters for the domain and its mailboxes
- [POST /domains/{name}/mail/filters](https://urbestack.com/docs/api/post-domains-name-mail-filters.md): Create a mail filter for the domain or one of its mailboxes
- [PATCH /domains/{name}/mail/filters/{id}](https://urbestack.com/docs/api/patch-domains-name-mail-filters-id.md): Update a mail filter
- [DELETE /domains/{name}/mail/filters/{id}](https://urbestack.com/docs/api/delete-domains-name-mail-filters-id.md): Delete a mail filter from the domain
- [GET /domains/{name}/mail/forwarders](https://urbestack.com/docs/api/get-domains-name-mail-forwarders.md): List the domain's forwarders
- [POST /domains/{name}/mail/forwarders](https://urbestack.com/docs/api/post-domains-name-mail-forwarders.md): Create a forwarder
- [PATCH /domains/{name}/mail/forwarders/{local}](https://urbestack.com/docs/api/patch-domains-name-mail-forwarders-local.md): Replace a forwarder's destinations
- [DELETE /domains/{name}/mail/forwarders/{local}](https://urbestack.com/docs/api/delete-domains-name-mail-forwarders-local.md): Remove a forwarder
- [GET /domains/{name}/mail/greylist](https://urbestack.com/docs/api/get-domains-name-mail-greylist.md): List sender domains with mail currently held by greylisting for this domain
- [POST /domains/{name}/mail/greylist/pass](https://urbestack.com/docs/api/post-domains-name-mail-greylist-pass.md): Release greylisted mail from a sender domain
- [POST /domains/{name}/mail/hold/check](https://urbestack.com/docs/api/post-domains-name-mail-hold-check.md): Check public DNS to lift a domain's mail hold
- [DELETE /domains/{name}/mail/hold/note](https://urbestack.com/docs/api/delete-domains-name-mail-hold-note.md): Dismiss the notice that a DNS check activated a domain's mail
- [GET /domains/{name}/mail/lists](https://urbestack.com/docs/api/get-domains-name-mail-lists.md): List the domain's allow, block and nogreylist entries
- [POST /domains/{name}/mail/lists](https://urbestack.com/docs/api/post-domains-name-mail-lists.md): Add an entry to the domain's allow, block or nogreylist list
- [POST /domains/{name}/mail/lists/import](https://urbestack.com/docs/api/post-domains-name-mail-lists-import.md): Import entries into the domain's allow, block or nogreylist list
- [DELETE /domains/{name}/mail/lists/{id}](https://urbestack.com/docs/api/delete-domains-name-mail-lists-id.md): Delete an entry from the domain's mail sender lists
- [PUT /domains/{name}/mail/smarthost](https://urbestack.com/docs/api/put-domains-name-mail-smarthost.md): Set the smarthost for the domain's outgoing mail
- [DELETE /domains/{name}/mail/smarthost](https://urbestack.com/docs/api/delete-domains-name-mail-smarthost.md): Remove the domain's smarthost
- [GET /domains/{name}/modsec](https://urbestack.com/docs/api/get-domains-name-modsec.md): Get a domain's ModSecurity modes
- [PATCH /domains/{name}/modsec](https://urbestack.com/docs/api/patch-domains-name-modsec.md): Set a domain's ModSecurity mode or its owner's choice
- [GET /domains/{name}/modsec/disabled-rules](https://urbestack.com/docs/api/get-domains-name-modsec-disabled-rules.md): List disabled ModSecurity rules for a domain
- [POST /domains/{name}/modsec/disabled-rules](https://urbestack.com/docs/api/post-domains-name-modsec-disabled-rules.md): Disable ModSecurity detection rules for a domain
- [DELETE /domains/{name}/modsec/disabled-rules/{rule}](https://urbestack.com/docs/api/delete-domains-name-modsec-disabled-rules-rule.md): Remove a domain's setting that disables a ModSecurity rule
- [GET /domains/{name}/modsec/requests](https://urbestack.com/docs/api/get-domains-name-modsec-requests.md): List requests ModSecurity blocked or would have blocked for a domain
- [GET /domains/{name}/redirects](https://urbestack.com/docs/api/get-domains-name-redirects.md): List a domain's path redirects
- [POST /domains/{name}/redirects](https://urbestack.com/docs/api/post-domains-name-redirects.md): Add a path redirect to a domain
- [DELETE /domains/{name}/redirects/{id}](https://urbestack.com/docs/api/delete-domains-name-redirects-id.md): Remove a path redirect from a domain
- [GET /domains/{name}/stats](https://urbestack.com/docs/api/get-domains-name-stats.md): Get a domain's traffic statistics for a period
- [GET /security/modsec/disabled-rules](https://urbestack.com/docs/api/get-security-modsec-disabled-rules.md): List server-wide and per-domain settings that disable ModSecurity rules
