全部產品
Search
文件中心

DataWorks:DeleteTable

更新時間:Jul 31, 2026

刪除MaxCompute表。

說明

目前該API介面已標記為棄用。

調試

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

調試

授權資訊

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

請求參數

名稱

類型

必填

描述

樣本值

ProjectId

integer

DataWorks 工作空間的 ID。

101

TableName

string

MaxCompute 表的名稱。

table1

EnvType

integer

引擎或資料來源的類型。 取值範圍:

  • cdh

  • analyticdb_for_mysql

  • odps

  • emr

  • hadoop

  • holodb

  • hybriddb_for_postgresql

1

AppGuid

string

MaxCompute 專案的唯一識別碼,格式為 odps.{projectName}。

odps.test

Schema

string

表 Schema 資訊。在 ODPS 中,當您啟動了三層模型時需要填寫 Schema 資訊。

default

返回參數

名稱

類型

描述

樣本值

object

RequestId

string

請求 ID。

abcde

TaskInfo

object

刪除表的任務資訊。

Status

string

已經結束的任務狀態。

success

NextTaskId

string

正在執行的任務 ID。

abc1

TaskId

string

已經結束的任務 ID。

abc

Content

string

任務的內容。

success

樣本

正常返回樣本

JSON格式

{
  "RequestId": "abcde",
  "TaskInfo": {
    "Status": "success",
    "NextTaskId": "abc1",
    "TaskId": "abc",
    "Content": "success"
  }
}

錯誤碼

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.Api.Risk The request for this resource has exceeded your daily available limit.
429 Throttling.System The DataWorks system is busy. Try again later.
429 Throttling.User Your request is too frequent. Try again later.

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

變更歷史

更多資訊,參考變更詳情