---
title: "POST /v2/{+name}:upgrade"
method: POST
path: "/v2/{+name}:upgrade"
tags: ["projects"]
---

# POST /v2/{+name}:upgrade

`POST /v2/{+name}:upgrade`

Upgrades a notebook instance to the latest version.

## Path parameters

- `name` string, required

## Request body

- UpgradeInstanceRequest — Request for upgrading a notebook instance
  - `imageFamily` string — Optional. The Compute Engine image family resource name to upgrade to. Format: `projects/{project_id}/global/images/family/{image_family}` If specified, the instance will be upgraded to the latest image in the specified image family, allowing upgrades across image families. If not specified, the instance will be upgraded to the latest image in its current image family.

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/notebooks.md) · [All operations](https://skmtc.dev/google/apis/notebooks/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/notebooks/revisions/127a2a41b4c1/schema)
