DeleteTable
Deletes a MaxCompute table.
This API has been deprecated with no replacement. While temporary access is maintained, no further updates or bug fixes will be provided. To ensure continued functionality, plan your migration and contact your account manager for support.
Operation description
Note: This API operation is deprecated.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectId |
integer |
Yes |
The ID of the DataWorks workspace. |
101 |
| TableName |
string |
Yes |
The name of the MaxCompute table. |
table1 |
| EnvType |
integer |
Yes |
The type of the engine or data source. Valid values:
|
1 |
| AppGuid |
string |
No |
The unique identifier of the MaxCompute project. The format is odps.{projectName}. |
odps.test |
| Schema |
string |
No |
The schema information of the table. In ODPS, you must specify the schema information when the three-tier model is enabled. |
default |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response data structure. |
||
| RequestId |
string |
The request ID. |
abcde |
| TaskInfo |
object |
The task information for deleting the table. |
|
| Status |
string |
The status of the completed task. |
success |
| NextTaskId |
string |
The ID of the running task. |
abc1 |
| TaskId |
string |
The ID of the completed task. |
abc |
| Content |
string |
The content of the task. |
success |
Examples
Success response
JSON format
{
"RequestId": "abcde",
"TaskInfo": {
"Status": "success",
"NextTaskId": "abc1",
"TaskId": "abc",
"Content": "success"
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 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. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.