---
title: "Edit a group"
method: PUT
path: "/groups/{group_id}"
tags: ["groups"]
---

# Edit a group

`PUT /groups/{group_id}`

Edits the group specified by the group name

## Path parameters

- `group_id` string, required

## Request body

- GroupRequest
  - `name` string, required — the name of the group
  - `description` string, required — the description of the group

## Response `200`

successfully edited the specified subchannel

- Subchannel — Nested channel object
  - `id` string
  - `name` string — This can be any string based name
  - `description` string
  - `parent` string — name of parent channel
  - `privacy` 'private' | 'authenticated' | 'public' — channel privacy channel
  - `channel_type` 'default' | 'virtual' — channel type
  - `indexing_behavior` 'default' | 'frozen' — channel indexing behavior
  - `sources` VirtualChannelSource[]
    - `name` string, required
    - `parent_name` string
  - `created` string — date created
  - `updated` string — date of last update

## Other responses

- `400` — Server cannot execute request due to something that is perceived to be a client error
- `401` — Unauthenticated, no token is provided or token is invalid
- `403` — Access is forbidden
- `404` — The specified resource was not found
- `500` — Internal server error

---

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