DeletePrivateDnsEndpoint
Deletes a private DNS endpoint.
Operation description
Deletes a specified private DNS endpoint.
Specify the private DNS endpoint to delete by using AccessInstanceId and the region where the endpoint resides by using RegionNo.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cloudfirewall:DeletePrivateDnsEndpoint |
delete |
*PrivateDNS
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AccessInstanceId |
string |
Yes |
The instance ID. |
pd-12345 |
| RegionNo |
string |
Yes |
The region ID of the instance. |
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The ID of the request. |
822B9125-6E1A-551C-8EAF-6E7**** |
Examples
Success response
JSON format
{
"RequestId": "822B9125-6E1A-551C-8EAF-6E7****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ErrorPrivateDnsOperationDenied | private dns operation is not allowed. | Operation not allowed |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.