Delete database binding API Reference
DELETE
/tenants/{tenant}/databases/{name}/bindings/{binding}
const url = 'https://api.kupe.cloud/api/v1/tenants/acme/databases/orders-db/bindings/orders-db-prod-readwrite';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/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.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ” tenant
required
string
Tenant name
name
required
string
Database name
binding
required
string
Binding name
Responses
Section titled “ Responses ”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