Zone

Synopsis

Submit a bulk zone delete request.

Syntax

Remove-EDNSZone [-Zone] <String> [-BypassSafetyChecks] [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Submits a request to delete one or more new Zones asynchronously. Before deleting a zone from the Edge DNS system, the API makes sure Akamai servers aren't receiving DNS requests for that zone. It also checks that the zone isn't currently delegated to Akamai's name servers. The result of this operation is a requestId, which you can use to check the task's status and view its results once it completes.

Note: this function uses the same API endpoint as New-EDNSBulkDelete, but with a slightly altered set of parameters.

Parameters

‑AccountSwitchKey

An account credential key that lets you move between accounts when using an API client enabled for multiple accounts. To find account switch keys, use Get-AccountSwitchKey.

‑BypassSafetyChecks

Disables the delegation checks and deletes the zones as soon as possible.

‑EdgeRCFile

Your EdgeGrid resource file to authenticate your command. Defaults to ~/.edgerc.

‑Section

The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to default.

‑Zone
Required

Your zone's name.

Related Links