@@ -6041,59 +6041,6 @@ Returns a list of objects (tables and views) present in the workspace schema in
60416041 Returned when the workspace backend is not supported.
60426042
60436043
6044- ## Batch Delete Workspace Objects [/v2/storage/workspaces/{workspace_id}/objects/batch-delete]
6045-
6046- ### Batch Delete Workspace Objects [POST]
6047-
6048- Deletes multiple tables and views from a workspace in a single async operation. Returns a job. All objects are attempted even if some fail, but the job will be marked as failed if any deletion fails.
6049-
6050- + Parameters
6051- + workspace_id (required, number) - Workspace ID
6052-
6053- + Request (application/json)
6054- + Headers
6055-
6056- X-StorageApi-Token: your_token
6057-
6058- + Body
6059-
6060- {
6061- "objects": ["MY_TABLE", "MY_VIEW"]
6062- }
6063-
6064- + Response 202 (application/json)
6065-
6066- + Body
6067-
6068- {
6069- "id": 12345,
6070- "status": "waiting",
6071- "url": "https://connection.keboola.com/v2/storage/jobs/12345",
6072- "operationName": "workspaceBatchDeleteObjects",
6073- "operationParams": {
6074- "params": {
6075- "objects": ["MY_TABLE", "MY_VIEW"]
6076- }
6077- },
6078- "createdTime": "2013-05-31T16:11:05+0200",
6079- "startTime": null,
6080- "endTime": null,
6081- "runId": null,
6082- "results": null,
6083- "creatorToken": {
6084- "id": "27978",
6085- "description": "user@keboola.com"
6086- }
6087- }
6088-
6089- + Response 404 (application/json)
6090-
6091- Returned when the workspace is not found.
6092-
6093- + Response 422 (application/json)
6094-
6095- Returned when the request body is invalid (e.g. empty objects list).
6096-
60976044## Batch Delete Development Branch Workspace Objects [/v2/storage/branch/{branch_id}/workspaces/{workspace_id}/objects/batch-delete]
60986045
60996046### Batch Delete Development Branch Workspace Objects [POST]
0 commit comments