For the complete documentation index, see llms.txt. This page is also available as Markdown.

Delete a Private Container Registry

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.

Request

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 ''

Path parameter

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

Response

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?