调用DeleteVpcPrefixList接口删除前缀列表。
接口说明
DeleteVpcPrefixList 接口不支持并发删除同一个前缀列表实例。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
vpc:DeleteVpcPrefixList |
delete |
*PrefixList
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| PrefixListId |
string |
是 |
要删除的前缀列表的实例 ID。 |
pl-0b78hw45f**** |
| ClientToken |
string |
否 |
客户端 Token,用于保证请求的幂等性。 从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken 只支持 ASCII 字符。 说明
若您未指定,则系统自动使用 API 请求的 RequestId 作为 ClientToken 标识。每次 API 请求的 RequestId 可能不一样。 |
123e4567-e89b-12d3-a456-426655440000 |
| DryRun |
boolean |
否 |
是否只预检此次请求。取值:
|
false |
| RegionId |
string |
是 |
要删除的前缀列表所在的地域 ID。 您可以通过调用 DescribeRegions 接口获取地域 ID。 |
cn-hangzhou |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| RequestId |
string |
请求 ID。 |
64B48E3D-DF70-471B-AA93-08E683A1B45 |
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | ResourceNotFound.PrefixList | The specified resource of prefixList is not found. | |
| 400 | IncorrectStatus.SystemPrefixList | This is not allowed to operate system prefixList. | 无法操作系统prefixList |
| 400 | OperationDenied.DeleteShareResource | This is not allowed to delete shared prefixList. | 无法删除共享PrefixList |
| 400 | IncorrectStatus.PrefixList | The status of prefixList is incorrect. | PrefixList处于中间态,无法操作 |
| 400 | DependencyViolation.PrefixListRelation | The specified resource of prefixList depends on prefixList relation, so the operation cannot be completed. | 由于PrefixList还存在引用关系,所以无法删除PrefixList |
| 400 | DependencyViolation.ShareResource | The specified resource of prefixList depends on share resource, so the operation cannot be completed. | 由于PrefixList存在共享关系,所以无法删除PrefixList |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。