Rotate cluster connection credentials API Reference
POST
/tenants/{tenant}/registries/{name}/bindings/{binding}/rotate
const url = 'https://api.kupe.cloud/api/v1/tenants/acme/registries/registry/bindings/prod/rotate';const options = {method: 'POST', 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 POST \ --url https://api.kupe.cloud/api/v1/tenants/acme/registries/registry/bindings/prod/rotate \ --header 'Authorization: <Authorization>'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 ”Rotation requested
Media type application/json
object
binding
string
requestedAt
string
Example
{ "binding": "prod", "requestedAt": "2026-10-21T12:00:00.123456789Z"}Invalid name
Media type application/json
object
code
string
error
string
field
string
message
string
severity
string
Example generated
{ "code": "example", "error": "example", "field": "example", "message": "example", "severity": "example"}Missing or invalid authentication
Media type application/json
object
code
string
error
string
field
string
message
string
severity
string
Example generated
{ "code": "example", "error": "example", "field": "example", "message": "example", "severity": "example"}Admin access required
Media type application/json
object
code
string
error
string
field
string
message
string
severity
string
Example generated
{ "code": "example", "error": "example", "field": "example", "message": "example", "severity": "example"}Cluster connection not found for this registry, or the registry is not enabled (code registries_unavailable)
Media type application/json
object
code
string
error
string
field
string
message
string
severity
string
Example generated
{ "code": "example", "error": "example", "field": "example", "message": "example", "severity": "example"}The connection or the registry is being deleted (code terminating)
Media type application/json
object
code
string
error
string
field
string
message
string
severity
string
Example generated
{ "code": "example", "error": "example", "field": "example", "message": "example", "severity": "example"}Rate limit exceeded
Media type application/json
object
code
string
error
string
field
string
message
string
severity
string
Example generated
{ "code": "example", "error": "example", "field": "example", "message": "example", "severity": "example"}