Bulk zone delete request

New-EdnsZoneBulkDelete

Synopsis

Submit a bulk zone delete request.

Syntax

New-EdnsZoneBulkDelete [-Zones] <String[]> [-BypassSafetyChecks] [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Submits a request to delete one or more new zones asynchronously. The request body contains a JSON array, where each element in the array is the name of a zone to be deleted.

The operation 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.

Before deleting a zone from the Edge DNS system, the API makes sure Akamai servers aren't receiving DNS requests for that zone.

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.

‑Zones
Required

A list of zone names.

Related Links