Domains /
Delete subdomain
Removes a subdomain from a domain.
Required permission
Account > Subdomains > General > Update
Path parameters
domain
string requiredName of the domainsubdomain
string requiredName of the subdomain
Response body
- {object}Response object.
data
{object} requiredResult data.
API
CLI
JS Client
DELETE /v1/domains/{domain}/subdomains/{subdomain}
Example response
200 OK
The operation was performed successfully.
JSON
{
"data": {}
}
Example response
400 Bad Request
The default (empty) subdomain cannot be deleted.
Example response
404 Not Found
The subdomain does not exist.