Deletes the specified data table from the designated workspace.
Debug
You can run this API directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After a successful run, OpenAPI Explorer can automatically generate SDK code examples.
Debug
Authorization information
The following table describes the authorization information for this API. You can use it in the Action element of a RAM policy statement to grant RAM users or RAM roles the permission to call this API. Details are as follows:
- Action: the specific permission point.
- Access level: the access level of each action. Valid values: Write, Read, or List.
-
Resource type: the resource types that support authorization for the action. Details are as follows:
- For required resource types, an asterisk (*) is added as a prefix.
- For actions that do not support resource-level authorization,
All resourcesis used.
- Condition key: the condition keys defined by the cloud service itself.
- Related action: other permissions required to successfully perform the action. The caller must also have the permissions of the related actions for the operation to succeed.
| Action | Access level | Resource type | Condition key | Related action |
|---|---|---|---|---|
| dataanalysisgbi:DeleteSelectedTable | none | *All resources * |
| None |
Request syntax
Request parameters
| Name | Type | Required | Description | Example value |
|---|---|---|---|---|
| workspaceId | string | Yes | The ID of the Model Studio workspace used for the current request. | llm-2v3934xtp49esw64 |
| body | object | No | Request body parameters. | |
| tableIdKey | string | Yes | The unique identifier ID of the data table. | table-AAAAAAAAFQBwSLJkUj4CYg |
Response parameters
| Name | Type | Description | Example value |
|---|---|---|---|
| object | Result | ||
| data | any | Returned information. | true |
| errorMsg | string | Error message. | NoAuth |
| code | string | Error code. | NoAuth |
| success | boolean | true indicates that the API call succeeded, and false indicates that the API call failed. | true |
| requestId | string | The request ID, which is unique for each request and helps troubleshoot issues. | 45390C6D-016D-5030-BF65-031ED1F65003 |
Examples
Success response
JSON format
Error codes
| HTTP status code | Error code | Error message | Description |
|---|---|---|---|
| 401 | Internal.Error | Bad Request: Internal Error. | Internal error. Contact customer service personnel for troubleshooting. |
| 401 | NoResourceAuth | Bad Request: Resource Auth Error. | You do not have permission on the requested resource. Make sure that the requested resource belongs to the workspace specified in the current parameters. |
| 401 | NoAuth | Bad Request: Workspace.Illegal.Auth. | The current account does not have permission on the specified workspace. |
| 401 | SystemOperationInProgress | Xiyan GBI is learning your previous modifications. Please try again later. | Xiyan GBI is learning your previous modifications. Please try again later. |