post
https://api.superwise.ai/v1/datasets/bulk-action
Perform a bulk action on a list of datasets.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Applies one action to a list of datasets: delete or archive. The response summarizes how many were requested, succeeded, and failed, and gives a result for each ID.
When to use it
Use it to archive or clean up many datasets in one call instead of sending one request per dataset.
Required parameters
action(body): the action to perform on the datasets.ids(body): list of dataset IDs to perform the action on.
Response
A successful call returns 200 OK with a BulkActionResponse: a summary with the requested, succeeded, and failed counts, and a results array with each ID, its status (success or failed), and any error code and message.
Related: Archive a dataset, Delete a dataset, Search datasets
422Unprocessable Entity
500Internal Server Error