dns-records

Delete a DNS record

Changed on

Delete a DNS record by ID. Use $preview=true to validate the request without deleting the record.

delete/domains/{name}/dns/records/{id}

Request

Path parameters

namestring required
idstring required
Example:rr-a1b2c3d4-e5f6-7890-abcd-ef1234567890

DNS record ID (format: rr-<uuid>)

Query parameters

$previewboolean required

Response

DNS record deletion operation created

@type'unstoppabledomains.com/partner.v3.DomainDnsRecordOperationResult' required

Example response

{
  "operation": {
    "id": "op-a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "dependencies": [
      {
        "id": "plop_abc12345-1234-1234-1234-abc123456789",
        "parameters": {
          "owner": {
            "id": "con_abc12345-1234-1234-1234-abc123456789"
          },
          "contacts": {
            "admin": {
              "id": "con_abc12345-1234-1234-1234-abc123456789"
            },
            "billing": {
              "id": "con_abc12345-1234-1234-1234-abc123456789"
            },
            "tech": {
              "id": "con_abc12345-1234-1234-1234-abc123456789"
            }
          },
          "period": 1
        }
      }
    ]
  }
}

Changes

    • breaking

      the response's property type changed from number to string for status

    • warning

      added the new unstoppabledomains.com/partner.v3.DomainDnsRecordOperationResult enum value to the response property for the response status

    • warning

      added the new DOMAIN_ADMIN_DNS_ZONE_MIGRATE enum value to the / response property for the response status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status