Skip to main content
Remove the container
Last update:

Remove the container

For your information

If the container has an access policy, it must allow the deletion of each object in the container and the deletion of the container itself, see the Actions section of the Access Policy instruction for details.

Containers that contain no more than 500,000 objects (including object segments) can be deleted via the control panel.Containers with a large number of objects can only be deleted via the API.

It may take up to 24 hours to remove the container. During the removal process, you cannot do anything to the container except stop the removal.

If versioning is enabled in a container, the versioned container will not be automatically deleted — it must be manually deleted.

Objects in the container are deleted one by one. While a container is being deleted, outgoing traffic and storage capacity of objects that have not yet been deleted are charged. DELETE requests are not charged. For more information about charging and consumption, see the Object Storage Charging and Pricing Model instructions.

Remove the container

Before deleting, complete all API requests with objects in the container.

  1. In the Control Panel, on the top menu, click Products and select Object Storage.
  2. Go to the Containers section.
  3. In the container row, click .
  4. Enter a name for the container and click Delete. The Deleting status will be displayed in the container row . A pop-up notification appears when the deletion is complete.

Possible errors

If an error occurs, a pop-up notification will appear:

  • Error when deleting a container — internal error, create a ticket;
  • The limit on the number of tasks has been reached — The deletion task limit has been exceeded (no more than 10 containers can be deleted at a time). Wait for other tasks to complete and delete the container.

Stop deletion

If the deletion of a container has not yet been completed, you can stop it. When you stop deletion, only objects that have not yet been deleted remain in the container.

  1. In the Control Panel, on the top menu, click Products and select Object Storage.
  2. Go to the Containers section.
  3. Click the link notifying you of the number of containers to be deleted.
  4. In the container row, click .