調用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 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。