How to Delete a Robot Account from Vultr Container Registry

Updated on March 20, 2025

Deleting a robot account from the Vultr Container Registry removes its access to repositories, ensuring that outdated credentials do not remain active. This improves security by minimizing exposure and reducing the risk of unauthorized access. Removing unused robot accounts also streamlines container registry management, keeping it clean and organized.

Follow this guide to delete a robot account from your container registry on your Vultr account using the Vultr API.

  1. Send a GET request to the List Container Registries endpoint and note the target registry's ID.

    console
    $ curl "https://api.vultr.com/v2/registries" \
        -X GET \
        -H "Authorization: Bearer ${VULTR_API_KEY}"
    
  2. Send a GET request to the List Robots endpoint to list all the available robots and note the target robot's name.

    console
    $ curl "https://api.vultr.com/v2/registry/{registry-id}/robots" \
        -X GET \
        -H "Authorization: Bearer ${VULTR_API_KEY}"
    
    Note
    Robot account names contain special characters like $ and +, which must be URL-encoded before making API requests to prevent errors. You can either manually replace $ with %24 and + with %2B in the endpoint or export the robot name as a variable, avoiding the need for manual encoding.
  3. Send a DELETE request to the Delete Robot endpoint to delete the target robot account.

    console
    $ curl "https://api.vultr.com/v2/registry/{registry-id}/robot/{robot-name}" \
        -X DELETE \
        -H "Authorization: Bearer ${VULTR_API_KEY}"
    

Comments

No comments yet.