Skip to content

Delete database binding API Reference

DELETE
/tenants/{tenant}/databases/{name}/bindings/{binding}
curl --request DELETE \
--url https://api.kupe.cloud/api/v1/tenants/acme/databases/orders-db/bindings/orders-db-prod-readwrite \
--header 'Authorization: <Authorization>'

Remove a binding: its credentials Secret leaves every namespace it lists, and the Service and network path leave each one no other binding of the database lists. The role’s password does not change: rotate it if those namespaces should lose knowledge of it too. Served even while the platform has managed databases switched off.

tenant
required
string

Tenant name

name
required
string

Database name

binding
required
string

Binding name

Binding 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

Binding not found for this database

object
code
string
error
string
field
string
message
string
severity
string

The binding 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