Deleting Fact Tables
Function
This API is used to delete fact tables with specified IDs.
Calling Method
For details, see Calling APIs.
URI
DELETE /v2/{project_id}/design/fact-logic-tables
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID. For details about how to obtain the project ID, see Project ID and Account ID. |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
ids |
Yes |
Array of strings |
ID list, which is a string |
del_types |
No |
String |
Deletion type. Enumerated values:
|
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
data |
data object |
Indicates the final deletion result, that is, the number of objects that are successfully deleted. |
Status code: 400
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
Error code, for example, DS.6000, indicating that the request fails to be processed. |
error_msg |
String |
Error message |
data |
Object |
Returned data information. |
Status code: 401
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
Error code, for example, DS.6000, indicating that the request fails to be processed. |
error_msg |
String |
Error message |
data |
Object |
Returned data information. |
Status code: 403
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
Error code, for example, DS.6000, indicating that the request fails to be processed. |
error_msg |
String |
Error message |
data |
Object |
Returned data information. |
Example Requests
Delete fact tables.
DELETE https://{endpoint}/v2/{project_id}/design/fact-logic-tables { "ids" : [ "1114492876374601728" ], "del_types" : "PHYSICAL_TABLE" }
Example Responses
Status code: 200
The operation succeeds. The number of deleted fact tables is returned.
{ "value" : 1 }
Status code: 400
{ "error_code" : "DS.60xx", "error_msg" : "The user request is illegal." }
Status code: 401
{ "error_code" : "DS.60xx", "error_msg" : "User authentication failed." }
Status code: 403
{ "error_code" : "DS.60xx", "error_msg" : "The user does not have permission to call this API." }
Status Codes
Status Code |
Description |
---|---|
200 |
The operation succeeds. The number of deleted fact tables is returned. |
400 |
BadRequest |
401 |
Unauthorized |
403 |
Forbidden |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot