Skip to main content
DELETE
/
core
/
v1
/
domains
/
{domainName}
/
vanity_nameservers
/
{hostname}
Delete Vanity Nameserver
curl --request DELETE \
  --url https://api.dev.name.com/core/v1/domains/{domainName}/vanity_nameservers/{hostname} \
  --header 'Authorization: Basic <encoded-value>'
{
  "message": "Bad Request",
  "details": "'domainName' cannot be null"
}

Documentation Index

Fetch the complete documentation index at: https://docs.name.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Authenticate via HTTP Basic with your account username and API token. Examples use an explicit 'Authorization: Basic <base64(username:token)>' header; 'curl -u username:token' is equivalent. For sandbox, append "-test" to your username and use your sandbox token on api.dev.name.com.

Path Parameters

domainName
string<hostname>
required

The domain name associated with the vanity nameserver.

Example:

"example.com"

hostname
string<hostname>
required

The hostname of the vanity nameserver to delete.

Example:

"ns1.example.com"

Response

Vanity nameserver successfully deleted.