DNS

Delete a DNS zone

Permanently deletes a zone and all of its records; the domain stops resolving via Edge nameservers. Requires the "delete" permission and the X-Confirm: delete header.

delete/agent/dns/zones/{id}

Request

  • Base URL: https://edge.network
  • URL: https://edge.network/agent/dns/zones/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

Zone id.

Headers

X-Confirm'delete' required

Must be the literal string "delete". Omit it to get a 400 CONFIRMATION_REQUIRED response describing what would be deleted.

X-Dry-Run'true' | 'false'

Set to "true" to preview the operation (validation, cost, plan) without making changes.

Idempotency-Keystring

Unique key for safe retries. Repeating a request with the same key returns the original response instead of re-executing.

Response

Success.

tell_userstring required

Human-readable summary of what happened, for the agent to relay to its operator.

Changes

No recorded changes to this operation across all 1 revision of this API.