全部產品
Search
文件中心

DataWorks:DeleteDataServiceApi - 刪除資料服務API

更新時間:Mar 21, 2026

調用DeleteDataServiceApi刪除資料服務API。

調試

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

調試

授權資訊

當前API暫無授權資訊透出。

請求參數

名稱

類型

必填

描述

樣本值

TenantId

integer

租戶 ID。您可登入 DataWorks 控制台,進入資料開發(DataStudio)頁面,單擊右上方當前登入使用者名稱稱,選擇菜單 > 使用者資訊,擷取租戶 ID。

10002

ProjectId

integer

工作空間的 ID。

10001

ApiId

integer

資料服務 API 的 ID。

10000

返回參數

名稱

類型

描述

樣本值

object

HttpStatusCode

integer

HTTP 狀態代碼。

200

Data

boolean

刪除是否成功。

true

ErrorMessage

string

錯誤資訊。

The connection does not exist.

RequestId

string

請求 ID,一次請求的唯一標識。

0000-ABCD-EFG****

ErrorCode

string

錯誤碼。

Invalid.Tenant.ConnectionNotExists

Success

boolean

調用是否成功。

true

樣本

正常返回樣本

JSON格式

{
  "HttpStatusCode": 200,
  "Data": true,
  "ErrorMessage": "The connection does not exist.",
  "RequestId": "0000-ABCD-EFG****",
  "ErrorCode": "Invalid.Tenant.ConnectionNotExists",
  "Success": true
}

錯誤碼

HTTP status code

錯誤碼

錯誤資訊

描述

500 InternalError.System An internal system error occurred. Try again later.
500 InternalError.UserId.Missing An internal system error occurred. Try again later.
403 Forbidden.Access Access is forbidden. Please first activate DataWorks Enterprise Edition or Flagship Edition. 沒有許可權,請授權
429 Throttling.Api The request for this resource has exceeded your available limit.
429 Throttling.System The DataWorks system is busy. Try again later.
429 Throttling.User Your request is too frequent. Try again later.

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

變更歷史

更多資訊,參考變更詳情