---
title: "Update Group"
method: PATCH
path: "/api/v1/courses/{course_id}/groups/{group_id}"
tags: ["api", "api", "courses"]
---

# Update Group

`PATCH /api/v1/courses/{course_id}/groups/{group_id}`

## Request

- Base URL: `https://www.faroz.uz` (the document declares no server; this is the origin it was published from)
- URL: `https://www.faroz.uz/api/v1/courses/{course_id}/groups/{group_id}`
- Auth: HTTP bearer

## Path parameters

- `course_id` string, required
- `group_id` string, required

## Request body

- CourseGroupUpdate
  - `name` string, nullable
  - `color` integer, nullable
  - `subtitle` string, nullable
  - `weekdays` integer[], nullable
  - `start_date` string, date-time, nullable
  - `start_minute` integer, nullable
  - `lesson_duration` integer, nullable
  - `max_members` integer, nullable
  - `join_fee` integer, nullable
  - `lesson_price` integer, nullable

## Response `200`

Successful Response

- CourseGroup
  - `id` string, required
  - `name` string, required
  - `color` integer, required
  - `subtitle` string, nullable
  - `weekdays` integer[]
  - `start_date` string, required
  - `start_minute` integer
  - `lesson_duration` integer
  - `max_members` integer
  - `join_fee` integer
  - `lesson_price` integer

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/faroz/apis/edu-app-api.md) · [All operations](https://skmtc.dev/faroz/apis/edu-app-api/llms.txt) · [OpenAPI document](https://skmtc.dev/faroz/apis/edu-app-api/revisions/414a551ba773?raw)
