v1

latestOpenAPI 3.0.02026-07-17120114186.8 KB
worker

Delete a batch of objects with a given prefix

Deletes all objects with the provided prefix from the database. The data is not removed from the network immediately. Instead, the autopilot prunes data from the contracts periodically, after that happens the host is no longer obliged to store the data and it's effectively removed from the network.

post/worker/objects/remove

Request body

bucketstring

The name of the bucket the objects belong to

prefixstring

The prefix of the objects to delete

Example request

{
  "bucket": "default",
  "prefix": "folder/file"
}

Response

Successfully removed objects