cURL
curl --request POST \ --url https://api.ubicloud.com/project/{project_id}/location/{location}/postgres/{postgres_database_reference}/upgrade \ --header 'Authorization: Bearer <token>'
{ "current_version": "<string>", "target_version": "<string>", "upgrade_status": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID of the project
"pjkkmx0f2vke4h36nk9cm8v8q0"
The Ubicloud location/region
"eu-central-h1"
Postgres database ID or name Resource ID or name
A Postgres Database Upgrade Status