Delete Registry
You can remove a registry from HPE Machine Learning Inferencing Software if it is no longer required.
Before You Start #
- You must first delete any packaged models that are associated with the registry before you can remove the registry.
How to Remove a Registry #
Via the UI #
- Sign in to HPE Machine Learning Inferencing Software.
- Navigate to Registries.
- Scroll to the registry you want to delete.
- Select the Ellipses icon.
- Select Delete.
- Confirm by selecting Yes, Delete.
Via the CLI #
- Sign in via the CLI.
aioli user login <YOUR_USERNAME>
- Delete the registry with the following command:
aioli registry delete <REGISTRY_NAME>
Via the API #
- Sign in to HPE Machine Learning Inferencing Software.
curl -X 'POST' \ '<YOUR_EXT_CLUSTER_IP>/api/v1/login' \ -H 'accept: application/json' \ -H 'Content-Type: application/json' \ -d '{ "username": "<YOUR_USERNAME>", "password": "<YOUR_PASSWORD>" }'
- Obtain the Bearer token from the response.
- Get a list of registries to find the registry ID.
curl -X 'GET' \ '<YOUR_EXT_CLUSTER_IP>/api/v1/registries' \ -H 'accept: application/json' \ -H 'Authorization : Bearer <YOUR_ACCESS_TOKEN>'
- Copy the registry ID from the response.
- Use the following cURL command to delete the registry.
curl -X 'DELETE' \ '<YOUR_EXT_CLUSTER_IP>/api/v1/registries/<REGISTRY_ID>' \ -H 'accept: application/json' \ -H 'Authorization: Bearer <YOUR_ACCESS_TOKEN>'