Delete a Private Container Registry
Last updated
Was this helpful?
To delete your Private Container Registry and permanently delete all its stored container image data, provide the registryId. You can retrieve this ID using the GET Registries API call.
Note: The sample requestID is 789f8e3c-d5c8-4359-8f85-c200fb89e97c.
Delete the Private Container Registry using the following curl command:
curl --location \
--request DELETE 'https://api.ionos.com/containerregistries/registries/789f8e3c-d5c8-4359-8f85-c200fb89e97c' \
--header 'Authorization: Bearer ${TOKEN}' \
--data-raw ''Field
Type
Description
Example
registryId
string
The ID of the Private Container Registry to be deleted. It is a required field.
789f8e3c-d5c8-4359-8f85-c200fb89e97c
204 - No Content
The request was successfully fulfilled and there is no content in the body.
404 Bad Request - Not Found
{
"msg": "Not Found"
}Last updated
Was this helpful?
Was this helpful?