---
title: "Update a microfrontends group"
method: PATCH
path: "/v1/teams/{teamId}/microfrontends/{groupId}"
tags: ["teams"]
---

# Update a microfrontends group

`PATCH /v1/teams/{teamId}/microfrontends/{groupId}`

## Request

- Base URL: `https://api.vercel.com`
- URL: `https://api.vercel.com/v1/teams/{teamId}/microfrontends/{groupId}`
- Auth: HTTP bearer

Updates a microfrontends group's settings.

## Path parameters

- `groupId` string, required
- `teamId` string, required

## Query parameters

- `slug` string

## Request body

- object
  - `name` string: The new name for the existing microfrontends group.
  - `fallbackEnvironment` string: The new fallback environment for the microfrontends group. Must be "SAME_ENV", "PRODUCTION", or a valid custom environment slug from the default app.
  - `enablePolyrepoBranchRouting` boolean: Whether Preview Deployments can link to branches with the same name in other Git repositories.

## Response `200`

- object
  - `updatedMicrofrontendsGroup` object, required
    - `enablePolyrepoBranchRouting` false | true
    - `fallbackEnvironment` string
    - `id` string, required
    - `name` string
    - `slug` string

## Other responses

- `400`: One of the provided values in the request body is invalid. One of the provided values in the request query is invalid.
- `401`: The request is not authorized.
- `403`: You do not have permission to access this resource.
- `404`
- `410`

## Changes

- **2026-08-20** `b4b4b597ab64`: 2 info
  - added the new optional request property `enablePolyrepoBranchRouting`
  - added the optional property `updatedMicrofrontendsGroup/enablePolyrepoBranchRouting` to the response with the `200` status
- **2026-07-21** `2ae10ee9d21c`: 1 info
  - added the non-success response with the status `410`
- **2026-06-11** `14b4658f819e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/vercel/apis/vercel-api/changes/v1/teams/:teamId/microfrontends/:groupId/patch.md)

---

[API](https://skmtc.dev/vercel/apis/vercel-api.md) - [All operations](https://skmtc.dev/vercel/apis/vercel-api/llms.txt) - [OpenAPI document](https://skmtc.dev/vercel/apis/vercel-api/revisions/60686c0e1f6a?raw)
