Branch
Update database
Changed onUpdates the specified database in the branch. For related information, see Manage databases.
patch/projects/{project_id}/branches/{branch_id}/databases/{database_name}
Request
- Base URL: https://console.neon.tech/api/v2
- URL: https://console.neon.tech/api/v2/projects/{project_id}/branches/{branch_id}/databases/{database_name}
- Auth: one of:
- HTTP bearer
- API key in cookie zenith
- API key in cookie keycloak_token
Request body
Response
Updated the database
Example response
{
"database": {
"id": 834686,
"branch_id": "br-wispy-meadow-118737",
"name": "neondb",
"owner_name": "casey",
"created_at": "2022-11-30T18:25:15Z",
"updated_at": "2022-11-30T18:25:15Z"
},
"operations": [
{
"id": "d8ac46eb-a757-42b1-9907-f78322ee394e",
"project_id": "spring-example-302709",
"branch_id": "br-wispy-meadow-118737",
"endpoint_id": "ep-silent-smoke-806639",
"action": "start_compute",
"status": "finished",
"failures_count": 0,
"created_at": "2022-11-15T20:02:00Z",
"updated_at": "2022-11-15T20:02:02Z",
"total_duration_ms": 200
}
]
}Changes
- ●
added the new
epc_syncenum value to the//////response property for the response status
- ●
- ●
added the new
tenant_attach_safekeepersenum value to the//////response property for the response status - ●
added the new
tenant_detach_safekeepersenum value to the//////response property for the response status
- ●