全部產品
Search
文件中心

Database Gateway - Deprecated:DeleteGateway

更新時間:Feb 28, 2025

調用DeleteGateway刪除網關資訊。

說明 調用該介面時,若網關配置下存在正在啟動並執行執行個體,需要將執行個體停止後才能刪除。

調試

您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。

請求參數

名稱 類型 是否必選 樣本值 描述
Action String DeleteGateway

系統規定參數。取值:DeleteGateway

GatewayId String dg-9z57rbne******

網關ID。

返回資料

名稱 類型 樣本值 描述
Code String 200

響應碼。

Data String SUCCESS

返回結果。

ErrorMsg String SYSTEM_ERR

異常資訊。

RequestId String 60B7DF92-CC90-5166-9965-BCBE5F2911CD

請求ID。

Success Boolean true

請求是否成功,傳回值如下:

  • true:請求成功。
  • false:請求失敗。

樣本

請求樣本

http(s)://dg.cn-hangzhou.aliyuncs.com/?Action=DeleteGateway
&GatewayId=dg-9z57rbne******
&公用請求參數

正常返回樣本

XML格式

HTTP/1.1 200 OK
Content-Type:application/xml

<DeleteGatewayResponse>
    <Code>200</Code>
    <Data>SUCCESS</Data>
    <ErrorMsg>SYSTEM_ERR</ErrorMsg>
    <RequestId>60B7DF92-CC90-5166-9965-BCBE5F2911CD</RequestId>
    <Success>true</Success>
</DeleteGatewayResponse>

JSON格式

HTTP/1.1 200 OK
Content-Type:application/json

{
  "Code" : "200",
  "Data" : "SUCCESS",
  "ErrorMsg" : "SYSTEM_ERR",
  "RequestId" : "60B7DF92-CC90-5166-9965-BCBE5F2911CD",
  "Success" : true
}

錯誤碼

訪問錯誤中心查看更多錯誤碼。