Databases

Delete a database

Changed on

Deletes a database and the instance backing it. When the instance is removed synchronously the database row is deleted and the response is 204. If the instance cannot be deleted right away, the database row is retained (status deleting) and its teardown is handed to the background reconciler, which retries the deletion and removes the row once the instance is gone; in that case the response is 202. The database row is never dropped while its instance still exists, so an instance is never orphaned without a record to retry from.

delete/projects/{id}/databases/{databaseName}

Request

  • Base URL
    https://api.volcano.dev
  • Auth
    • HTTP bearer
    • or HTTP bearer

Path parameters

id, string uuid required

Project ID

databaseName, string required

Database name (unique within project, lowercase letters, numbers, and underscores only)

Response

Deletion accepted and in progress. The backing instance could not be removed synchronously, so the database is marked deleting and torn down asynchronously by the reconciler.

object required
status, string
message, string

Example response

{
  "status": "deleting",
  "message": "database deletion in progress"
}

Changes

    • info

      the endpoint scheme security ProjectAccessToken was added to the API

    • breaking

      added the new path request parameter databaseName

    • breaking

      added the new path request parameter id

    9 more changes in this revision