Submit an Answer
1 answer

Yes. While this functionality has not been exposed in the control panel yet, the Spaces API supports using lifecycle rules to delete incomplete multipart uploads. For example, using AWS cli, you can configure a rule like so:

$ aws s3api --endpoint-url= \
    put-bucket-lifecycle-configuration \
    --bucket example-space \
    --lifecycle-configuration \

Where the contents of lifecycle.json look like:

    "Rules": [
            "ID": "Remove uncompleted uploads",
            "Status": "Enabled",
            "Prefix": "",
            "AbortIncompleteMultipartUpload": {
                "DaysAfterInitiation": 1
edited by eris
  • @asb It seems that this is slightly incorrect. The –endpoint-url param should also include the bucket name, eg --endpoint-url=