--- title: "Delete a repository" description: "Delete a Model Repository from the list, and see what happens to its bucket and files for a new, existing, or external bucket." content_type: "how-to" product: "model-repository" platform: "TIR" url: "/tir/model-repository/how-to/delete-a-repository/" topic: ["delete"] --- # Delete a repository Delete a repository once you are done with it. The delete is permanent. ## Before you begin - Permission to delete model repositories in the project. A Member gets it through a policy that allows deleting for the Inference service. - Copies of any files you need. On a new bucket, the bucket and its files are deleted. - Deleted every Model Endpoint that uses the repository. If any exist, the portal refuses the delete with "PLEASE DELETE INFERENCE SERVICE BEFORE DELETING THE MODEL". ## Delete the repository 1. In the list, find the repository's row. Under **Actions**, select **Delete Repository**. 2. Tick "I understand and want to delete model repository ``". 3. Select **Delete**. ## What happens to the bucket - **New EOS Bucket**: the repository is deleted, together with the bucket and every file in it. - **Existing EOS Bucket** or **External EOS Bucket**: the repository is removed. Copy any files you need before you delete it. ## Check the result The repository is deleted. If TIR refuses the delete, see [Troubleshooting Model Repository](/tir/model-repository/troubleshooting/model-repository/). To remove only some files, see [Browse, download, and delete files](/tir/model-repository/how-to/browse-download-and-delete-files/).