Skip to main content
The managed Postgres database, one per environment (production by default); credentials are issued once and rotatable on demand.

database.get

Get the environment’s database status and connection details (never the password).
  • Auth: Organization API key (Authorization: Bearer korve_...) or dashboard session.
  • Minimum role: member
  • Risk: read

Query parameters

Example

Responses

Response body (200)

database.provision

Provision the environment’s database and issue its credentials (production by default).
  • Auth: Organization API key (Authorization: Bearer korve_...) or dashboard session.
  • Minimum role: admin
  • Billing: requires active organization billing — returns 402 otherwise.
  • Risk: write

Query parameters

Request body (optional)

Example

Responses

Response body (201)

database.rotatePassword

Rotate the database password. The old password stops working immediately.
  • Auth: Organization API key (Authorization: Bearer korve_...) or dashboard session.
  • Minimum role: admin
  • Risk: write · sensitive (elevated blast radius)

Query parameters

Example

Responses

Response body (200)

database.delete

Delete the environment’s database and all of its data. This cannot be undone.
  • Auth: Organization API key (Authorization: Bearer korve_...) or dashboard session.
  • Minimum role: owner
  • Risk: destructive · sensitive (elevated blast radius)

Query parameters

Example

Responses