Skip to content

Delete registry API Reference

DELETE
/tenants/{tenant}/registries/{name}
curl --request DELETE \
--url https://api.kupe.cloud/api/v1/tenants/acme/registries/registry \
--header 'Authorization: <Authorization>'

Delete the tenant’s registry. Deleting a registry deletes every image in it. They cannot be restored. Its cluster connections and access tokens go with it. Refused with 409 (code deletion_protected) while deletionProtection is true: PATCH it to false first.

tenant
required
string

Tenant name

name
required
string

Registry name: always registry

Registry deletion initiated

Invalid name

object
code
string
error
string
field
string
message
string
severity
string

Missing or invalid authentication

object
code
string
error
string
field
string
message
string
severity
string

Admin access required

object
code
string
error
string
field
string
message
string
severity
string

Registry not found

object
code
string
error
string
field
string
message
string
severity
string

Deletion protection is enabled (code deletion_protected), or the registry kept changing while it was being deleted

object
code
string
error
string
field
string
message
string
severity
string

Rate limit exceeded

object
code
string
error
string
field
string
message
string
severity
string