/
/Renterd API
DocsSign in
Sign in
  • APIs
  • Generators
  • Stacks
  • Projects
  • Docs
  • History
  • Schema
Checked 1h ago · Updated 1mo ago
  • postEvaluate autopilot configuration
  • getGet the autopilot state
  • postWake up autopilot
  • getGet a worker account
  • getGet all worker accounts
  • postReset drift for a worker's account
  • getGet overview of worker's memory usage.
  • putUpload a part of an ongoing multipart upload
  • getDownload an object
  • putUpload an object
  • deleteDeletes an object
  • postDelete a batch of objects with a given prefix
  • postMigrate a slab
  • getGet the worker's state.
  • getGet download stats
  • getGet upload stats
  • getGet all ephemeral accounts
  • postSave accounts
  • postFund account
  • getGet all alerts
  • postDismiss alerts
  • postRegister an alert
  • getGet autopilot configuration
  • putUpdate autopilot configuration
  • getGet all buckets
  • postCreate bucket
  • putUpdate bucket policy
  • getGet bucket
  • deleteDelete bucket
  • postAccept block

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 name of the bucket the objects belong to

prefixstring

The prefix of the objects to delete

Example request

{
  "prefix": "myDir/"
}

Response

Successfully removed objects

Changes