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.
Request body
Example request
{
"bucket": "default",
"prefix": "folder/file"
}Response
Successfully removed objects
Changes
Changed in 7 of the 50 revisions of this API.914
- ▲
added
ObjectKeysubschema #2to theprefixrequest propertyallOflistrequest-property-all-of-added
- ▲
the
prefixrequest property type/format changed fromstring/to/request-property-type-changed
- ○
the
prefixrequest property's minLength was decreased from1to0request-property-min-length-decreased
- ▲
- ▲
removed the media type
text/plainfor the response with the status404response-media-type-removed
- ▲
removed the media type
text/plainfor the response with the status500response-media-type-removed
- ○
api tag
workeraddedapi-tag-added
- ▲
- ▲
removed the media type
text/plainfor the response with the status200response-media-type-removed
- ▲
- ▲
added
BucketNameto thebucketrequest propertyallOflistrequest-property-all-of-added
- ●
removed
Bucketfrom thebucketrequest propertyallOflistrequest-property-all-of-removed
- ▲
- ▲
added
Bucketsubschema #2to thebucketrequest propertyallOflistrequest-property-all-of-added
- ▲
the
bucketrequest property type/format changed fromstring/to/request-property-type-changed
- ○
removed the pattern
(?!(^xn--|.+-s3alias$))^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$from the request propertybucketrequest-property-pattern-removed
- ▲
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 99 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲