BatchDeleteMetaEntities
Deletes metadata entity objects in batches. Supports deleting custom entities and extension table type objects (Database/Table). Does not support deleting columns individually. You can delete associated Column objects by deleting the Table.
Operation description
Requires DataWorks Professional Edition or a higher edition.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dataworks:BatchDeleteMetaEntities |
delete |
*All Resource
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Ids |
array |
Yes |
The list of entity IDs to delete. A maximum of 10 IDs are supported. All entities in the same batch must be of the same entityType. |
|
|
string |
No |
The list of parameter IDs. |
custom_entity-demo:entity_01 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
1FC02D76-4A94-5D97-B52C-00A031B95359 |
| Success |
boolean |
Indicates whether the request is successful. When some entities fail, this field still returns true. Check Results[].Success and Results[].ErrorMessage for individual results. |
[] |
| Results |
array |
The list of entity deletion results, which returns the success status and failure reason for each entity. |
|
| MetaEntityWriteResult |
The batch deletion result. |
Examples
Success response
JSON format
{
"RequestId": "1FC02D76-4A94-5D97-B52C-00A031B95359",
"Success": true,
"Results": [
{
"Name": "entity_01",
"EntityType": "custom_entity-demo",
"Id": "custom_entity-demo:entity_01",
"Success": true,
"ErrorMessage": "The specified parameters are invalid."
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.