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

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
required

DomainName is the zone that the record to be deleted exists in.

id
integer<int32>
required

ID is the server-assigned unique identifier for the Record to be deleted. If the Record with that ID does not exist in the specified Domain, an error is returned.

Response

Record successfully deleted.