cURL
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" }
Migrate the given database schema to the given target version. If a target version is not provided, the database will be migrated to the latest version.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Database migrated successfully
Was this page helpful?