delete_objects
Remove multiple objects from an S3 bucket by specifying bucket name and object keys. Optionally suppress errors to return only failed deletions. Returns JSON-formatted S3 response.
Instructions
Deletes multiple objects from an S3 bucket.
Args: bucket (str): The name of the bucket. keys (List[str]): A list of keys to delete. quiet (bool): Suppress errors and return only failed deletions.
Returns: str: JSON formatted S3 response.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
bucket | Yes | ||
keys | Yes | ||
quiet | No |
Input Schema (JSON Schema)
{
"properties": {
"bucket": {
"title": "Bucket",
"type": "string"
},
"keys": {
"items": {
"type": "string"
},
"title": "Keys",
"type": "array"
},
"quiet": {
"default": false,
"title": "Quiet",
"type": "boolean"
}
},
"required": [
"bucket",
"keys"
],
"type": "object"
}