---
title: "Update group setting"
method: PATCH
path: "/groups/{GroupID}"
tags: ["Groups"]
---

# Update group setting

`PATCH /groups/{GroupID}`

This method is responsible for changing the privacy settings for group

## Path parameters

- `GroupID` string, required — Group ID

## Request body

- UpdateGroupSettingRequest
  - `setting` 'send_messages' | 'edit_group_info' | 'approve_participants' | 'add_participants', required
  - `policy` 'anyone' | 'admins', required

## Response `200`

OK

- ResponseSuccess
  - `success` boolean

## Other responses

- `400` — Wrong request parameters
- `401` — Need channel authorization for update group
- `403` — You do not have permissions for this action
- `404` — Specified group not found
- `500` — Internal Error

---

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