Deleting a partially uploaded object
Written by
Updated at February 21, 2025
You can upload an object in parts using multipart upload.
Note
To automatically delete partially loaded objects in Object Storage, configure a lifecycle rule.
To manually delete a partially uploaded object:
Management console
AWS CLI
API
- In the management console
, select Object Storage from the list of services and go to the bucket that contains a partially uploaded object. - In the left-hand panel, select
Objects. - To see all versions of objects in the list, enable Show versions to the right of the object search field in the bucket.
- Hover over the yellow field next to the object count.
- Click Show uploads as soon as it appears.
- Select incomplete uploads you want to delete.
- Click Delete.
- Confirm the deletion.
In the management console, the information about the number of objects and storage space used in the bucket is updated with a few minutes' delay.
If you do not have the AWS CLI yet, install and configure it.
Run this command:
aws --endpoint-url=https://storage.yandexcloud.net s3api abort-multipart-upload \
--bucket <bucket_name> \
--key <object_key> \
--upload-id <upload_ID>
If you do not know the upload ID (number
), find it in the list of uploads.
aws --endpoint-url=https://storage.yandexcloud.net s3api list-multipart-uploads \
--bucket <bucket_name>
Use the abortUpload S3 API method.