Delete a DNS record for a domain

DELETE/v1/dns/domains/{dns_domain_id}/records/{record_id}

A DELETE request to the /v1/dns/domains/{dns_domain_id}/records/{record_id} endpoint will remove a DNS record from a domain. The domain and record IDs have to be specified in the path parameters. SOA records can't be deleted through this endpoint. See DNS Domain for details.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

FieldDetails
dns_domain_id
string

A unique identifier of a DNS domain.

record_id
string

A unique identifier of a DNS record.

Response Body

application/json

application/json

curl -X DELETE "https://example.com/v1/dns/domains/pnelRlbK/records/Jxbo2jag"
Empty