You can call this operation to delete a private zone.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DeleteZone

The operation that you want to perform. Set the value to DeleteZone.

Lang String No en

The language of the specific content returned in the response.

ZoneId String No AgIDE1MA_150

The ID of the private zone.

UserClientIp String No 1.1.1.1

The IP address of the client.

Response parameters

Parameter Type Example Description
RequestId String E246E023-F2EB-4034-83F7-B13FCF31459C

The ID of the request.

ZoneId String AgIDE1MA_150

The ID of the private zone.

Examples

Sample requests

  1. http(s)://pvtz.aliyuncs.com/? Action=DeleteZone&<Common request parameters>

Sample success responses

XML format

  1. <DeleteZoneResponse> <RequestId>B5174E6E-0AA6-4524-BCE4-603DED055319</RequestId> <ZoneId>AgIDE1MA_151</ZoneId></DeleteZoneResponse>

JSON format

  1. {“RequestId”: 3852E9B7-417E-40C6-AD98-B691CA82C4F4”,“ZoneId”: AgIDE1MA_150”}

Error codes

For a list of error codes, visit the API Error Center.