Delete cluster connection API Reference
DELETE
/tenants/{tenant}/registries/{name}/bindings/{binding}
const url = 'https://api.kupe.cloud/api/v1/tenants/acme/registries/registry/bindings/prod';const options = {method: 'DELETE', headers: {Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://api.kupe.cloud/api/v1/tenants/acme/registries/registry/bindings/prod \ --header 'Authorization: <Authorization>'Disconnect a cluster: its pull and push credentials are deleted, the push Secrets leave every push namespace, and new pods of the cluster can no longer pull from the registry. Pods already running keep the images they pulled. Served even while the platform has the registry switched off.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ” tenant
required
string
Tenant name
name
required
string
Registry name: always registry
binding
required
string
Cluster connection name: the cluster’s name
Responses
Section titled “ Responses ”Cluster connection deleted
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
Cluster connection not found for this registry
object
code
string
error
string
field
string
message
string
severity
string
The connection 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