Deletes an idle zone (built-in authoritative domain name).
Operation description
Notes
You must dissociate a zone from its scope before you delete it.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
pvtz:DeleteZone |
delete |
*Zone
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the response. Valid values:
Default: en. |
en |
| ZoneId |
string |
Yes |
The unique ID of the zone. Note
You must dissociate a built-in authoritative domain name from its scope before you delete it. |
0e41496f12da01311d314f17b801**** |
| UserClientIp |
string |
No |
The IP address of the client. |
127.0.XX.XX |
| ClientToken |
string |
No |
A client token to ensure the idempotence of the request. Generate a unique value from your client for this parameter. The token must contain only ASCII characters and be no more than 64 characters in length. |
21079fa016944979537637959d09bc |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| ZoneId |
string |
The unique ID of the zone. |
0e41496f12da01311d314f17b801**** |
| RequestId |
string |
The unique ID of the request. |
E246E023-F2EB-4034-83F7-B13FCF31459C |
Examples
Success response
JSON format
{
"ZoneId": "0e41496f12da01311d314f17b801****",
"RequestId": "E246E023-F2EB-4034-83F7-B13FCF31459C"
}
Error response
JSON format
{
"Message": "The request processing has failed due to some unknown error, exception or failure",
"RequestId": "E246E023-F2EB-4034-83F7-B13FCF31459C",
"Code": "InternalError"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.