Skip to main content
Version: 2.8

Deleting repositories

Deleting a repository means deleting its configuration data from D1. Repository contents are not deleted, they are still available in your database, file system, cloud storage or external service (such as Documentum), depending on repository configuration. If you want them to be deleted, you need to either do it from D1 before deleting the repository or delete them directly from the configured storage service.

Note

You cannot delete the default repository if you enabled it during installation. This repository is created from runtime properties every time you start D1, so deleting it would not make much sense.

To delete a repository from the user interface

  1. Log in to D1, and open the D1 Administrator.
  2. Open the Repositories menu, and select a repository that you want to delete.
  3. Click Deactivate, and then click Delete and confirm your operation.

The repository is now removed.

Note

To delete standard repository contents from the database, you must delete tables identified by the technical name of your repository, followed by an underscore sign. For example, if the repository name is MyRepo, you could use DROP TABLE db_name.schema_name.MyRepo_*.

To delete a repository with REST API

Use the DELETE/access.adx.admin/v1/repository endpoint available in D1 Administration API.

See D1 Administration API for more information.