---
title: "Updates an EdgeGroup"
method: PUT
path: "/edge_groups/{id}"
tags: ["edge_groups"]
---

# Updates an EdgeGroup

`PUT /edge_groups/{id}`

**Access policy**: administrator

## Path parameters

- `id` integer, required

## Request body

- EdgegroupsEdgeGroupUpdatePayload
  - `Dynamic` boolean
  - `Endpoints` integer[]
  - `Name` string
  - `PartialMatch` boolean
  - `TagIDs` integer[]

## Response `200`

OK

- PortainerEdgeGroup
  - `Dynamic` boolean
  - `EndpointIds` RoarRoarPortainerEndpointID
  - `Endpoints` integer[] — Deprecated: only used for API responses
  - `Id` integer — EdgeGroup Identifier
  - `Name` string
  - `PartialMatch` boolean
  - `TagIds` integer[]

## Other responses

- `500` — Internal Server Error
- `503` — Edge compute features are disabled

---

[API](https://skmtc.net/portainer/apis/portainerce-api.md) · [All operations](https://skmtc.net/portainer/apis/portainerce-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/portainer/portainerce-api/versions/c0b0975cd11b/schema)
