Delete a batch of objects with a given prefix

Deletes all objects with the provided prefix from the local database. The objects are not removed from the network immediately. Instead, the autopilot prunes data from the network periodically.

post/worker/objects/remove

Request body

bucketstring

The bucket the objects belong to

prefixstring

The prefix of the objects to delete

Example request

{
  "prefix": "myDir/"
}

Response

Successfully removed objects

Changes