Package actions

Delete a package

We provide two ways to remove your packages/files/assets from your repositories:

Delete via Cloudsmith CLI

Identify a package

To delete a package using the Cloudsmith CLI, you first need to identify the package you wish to delete. See Package Identification for instructions to do this.

Delete a package

Once you have identified the package, you use the cloudsmith delete command to delete it:

shell
cloudsmith delete OWNER/REPO/UNIQUE_ID

For example:

shell
cloudsmith delete demo/examples-repo/G0rDBWcVBMEm

In this example, we identified that the package we want to delete has the Unique ID "G0rDBWcVBMEm" and we are deleting it from the "my-example-repo" repository:

Delete via Cloudsmith web app

You can delete a package via the Cloudsmith web app:

  • Via the repository packages list
  • Via the package detail page

Delete via repository packages list

To delete a package via the repository packages list, click the dots to the right of the package name, then click "Delete":

Delete via the package detail page

To delete a package via the package detail page, click the "Delete" button to the right of the package name:

After clicking a "Delete" button, you will then be presented with a confirmation form. Click "Delete" again to confirm deletion of the package:

You will then get an on-screen message confirming that the package has been deleted.