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

# POST /v2/{+name}:detachFunction

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

Detaches 2nd Gen function to Cloud Run function.

## Path parameters

- `name` string, required

## Request body

- DetachFunctionRequest — Request for the `DetachFunction` 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)
