BatchDeleteMetaEntities
Deletes metadata entity objects in batches. This operation supports deleting purely custom entities and extended table-type objects (Database/Table). It does not support deleting columns individually. To delete associated columns, delete the parent table.
Operation description
You must purchase DataWorks Professional Edition or higher to use this operation.
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 be deleted. You can specify up to 10 IDs. All entities in the same batch must be of the same entity type. |
|
|
string |
No |
The entity ID. |
custom_entity-demo:entity_01 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response schema. |
||
| RequestId |
string |
The request ID. |
1FC02D76-4A94-5D97-B52C-00A031B95359 |
| Success |
boolean |
Indicates whether the request was successful. If some entities fail to be deleted, this parameter still returns true. For the result of each entity, see the Success and ErrorMessage parameters in the Results array. |
true |
| Results |
array |
The list of entity deletion results. This parameter returns the success status and failure reason for each entity. |
|
| MetaEntityWriteResult |
The 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.