---
title: Delete
url: https://docs.vultr.com/products/orchestration/container-registry/repository/artifact/delete
description: Permanently removes the selected resource from your Vultr account.
publish_date: 2025-03-20T16:07:07.896468Z
last_updated: 2026-05-26T20:19:28.136305Z
---

# How to Delete an Artifact from Vultr Container Registry Repository

Deleting an artifact from the Vultr Container Registry permanently removes a specific version of a container image from a repository. This action helps eliminate obsolete versions, ensuring that only relevant, up-to-date container images remain in the repository.

Follow this guide to delete an artifact from the container registry repository on your Vultr account using the Vultr API.

1. Send a `GET` request to the [**List Container Registries** endpoint](https://www.vultr.com/api/#tag/Container-Registry/operation/list-registries) and note the target registry's ID.

    ```console
    $ curl "https://api.vultr.com/v2/registries" \
        -X GET \
        -H "Authorization: Bearer ${VULTR_API_KEY}"
    ```

1. Send a `GET` request to the [**List Repositories** endpoint](https://www.vultr.com/api/#tag/Container-Registry/operation/list-registry-repositories) to list all the available repositories and note the target repository image.

    ```console
    $ curl "https://api.vultr.com/v2/registry/{registry-id}/repositories" \
        -X GET \
        -H "Authorization: Bearer ${VULTR_API_KEY}"
    ```

1. Send a `GET` request to the [**List Artifacts** endpoint](https://www.vultr.com/api/#tag/Container-Registry/operation/list-registry-repository-artifacts) to list all the available artifacts and note the target artifact's digest.

    ```console
    $ curl "https://api.vultr.com/v2/registry/{registry-id}/repository/{repository-image}/artifacts" \
        -X GET \
        -H "Authorization: Bearer ${VULTR_API_KEY}"
    ```

1. Send a `DELETE` request to the [**Delete Artifact** endpoint](https://www.vultr.com/api/#tag/Container-Registry/paths/~1registry~1{registry-id}~1repository~1{repository-image}~1artifact~1{artifact-digest}/delete) to delete the target artifact.

    ```console
    $ curl "https://api.vultr.com/v2/registry/{registry-id}/repository/{repository-image}/artifact/{artifact-digest}" \
        -X DELETE \
        -H "Authorization: Bearer ${VULTR_API_KEY}"
    ```