Skip to main content
POST
/
databases
/
{db_id}
/
migrate
Migrate Database
curl --request POST \
  --url https://api.example.com/databases/{db_id}/migrate \
  --header 'Authorization: Bearer <token>'
{
  "message": "Database migrated successfully to version 3.0.0"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

db_id
string
required

Query Parameters

target_version
string | null

The target version to migrate tables to

Response

Database migrated successfully