全部產品
Search
文件中心

DataWorks:DeleteDataSource - 刪除資料來源

更新時間:Mar 21, 2026

該介面用於刪除資料來源。

調試

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

調試

授權資訊

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

請求參數

名稱

類型

必填

描述

樣本值

DataSourceId

integer

資料來源 ID,您可以調用 ListDataSources 擷取資料來源的 ID。

1

返回參數

名稱

類型

描述

樣本值

object

返回結果。

HttpStatusCode

string

請求返回碼。

200

Data

boolean

是否成功刪除資料來源。

true

RequestId

string

請求 ID。

0bc1411515937635****

Success

boolean

請求是否成功。

true

樣本

正常返回樣本

JSON格式

{
  "HttpStatusCode": "200",
  "Data": true,
  "RequestId": "0bc1411515937635****",
  "Success": true
}

錯誤碼

HTTP status code

錯誤碼

錯誤資訊

描述

400 Invalid.Tenant.ConnectionNotExists The connection does not exist. 資料來源不存在。
400 Invalid.Tenant.ProjectNotExists The project does not exist. 專案不存在。
400 Invalid.Tenant.UserNotInProject The user is not in the project. 使用者不在專案中。
400 Invalid.Operation You cannot delete the bindingCalcEngine that is bound to the data source. 資料來源綁定的計算引擎不允許刪除
403 Invalid.Tenant.UserIsNotProjectOwnerOrAdmin The user is not a project administrator or owner. 使用者不是專案負責人或者專案系統管理員。
403 Invalid.Tenant.UserNotInTenant The user is not in tenant. 使用者不在租戶中。

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

變更歷史

更多資訊,參考變更詳情