Database Branches

Delete a branch

Changed on

Marks the branch for teardown and returns immediately. The branch stops accepting connections at once; its fork and its row are removed by a background job, so a provider outage cannot leave the call hanging or the branch half-deleted.

Deleting a branch that is still provisioning is allowed and stops the build, and repeating the call while teardown is in progress is accepted again. Once the branch is gone the call returns 404.

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

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)

branchName, string required

Branch name (unique within the parent database, lowercase letters, numbers, and underscores only)

Response

Deletion accepted and in progress

object required
status, string required
message, string required

Example response

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

Changes

    • info

      the endpoint scheme security ProjectAccessToken was added to the API

    • breaking

      added the new path request parameter branchName

    • breaking

      added the new path request parameter databaseName

    7 more changes in this revision