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

# POST /v2/{+name}:abortFunctionUpgrade

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

Aborts generation upgrade process for a function with the given name from the specified project. Deletes all 2nd Gen copy related configuration and resources which were created during the upgrade process.

## Path parameters

- `name` string, required

## Request body

- AbortFunctionUpgradeRequest — Request for the `AbortFunctionUpgrade` 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)
