Skip to content

Rotate cluster connection credentials API Reference

POST
/tenants/{tenant}/registries/{name}/bindings/{binding}/rotate
curl --request POST \
--url https://api.kupe.cloud/api/v1/tenants/acme/registries/registry/bindings/prod/rotate \
--header 'Authorization: <Authorization>'
tenant
required
string

Tenant name

name
required
string

Registry name: always registry

binding
required
string

Cluster connection name: the cluster’s name

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"
}