@@ -6040,59 +6040,6 @@ Returns a list of objects (tables and views) present in the workspace schema in
60406040
60416041 Returned when the workspace backend is not supported.
60426042
6043-
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- "workspaceId": "456",
6075- "objects": "[\"MY_TABLE\",\"MY_VIEW\"]"
6076- },
6077- "createdTime": "2013-05-31T16:11:05+0200",
6078- "startTime": null,
6079- "endTime": null,
6080- "runId": null,
6081- "results": null,
6082- "creatorToken": {
6083- "id": "27978",
6084- "description": "user@keboola.com"
6085- }
6086- }
6087-
6088- + Response 400 (application/json)
6089-
6090- Returned when the request body is invalid (e.g. empty objects list).
6091-
6092- + Response 404 (application/json)
6093-
6094- Returned when the workspace is not found.
6095-
60966043## Batch Delete Development Branch Workspace Objects [/v2/storage/branch/{branch_id}/workspaces/{workspace_id}/objects/batch-delete]
60976044
60986045### Batch Delete Development Branch Workspace Objects [POST]
0 commit comments