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

# POST /v2/{+name}:commitFunctionUpgrade

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

Finalizes the upgrade after which function upgrade can not be rolled back. This is the last step of the multi step process to upgrade 1st Gen functions to 2nd Gen. Deletes all original 1st Gen related configuration and resources.

## Path parameters

- `name` string, required

## Request body

- CommitFunctionUpgradeRequest — Request for the `CommitFunctionUpgrade` method.

## Response `200`

Successful response

---

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