---
title: "Update Group Settings"
method: POST
path: "/chats/{chat_id}/settings"
tags: ["chats", "group"]
---

# Update Group Settings

`POST /chats/{chat_id}/settings`

This endpoint updates the settings of the group

## Headers

- `x-phone` string

## Request body

- object
  - `addMembersAdminsOnly` boolean — - When set to true, only admins can add other participants to the group - Default true
  - `description` string — - Updates the group description
  - `image` string — - A public image URL to update the group image
  - `infoAdminsOnly` boolean — - When set to true, only admins can edit group description or info - Default false
  - `messagesAdminsOnly` boolean — - When set to true, only admins can send messages to the group. - Default false
  - `name` string — - Updates the name of the group
  - `ephemeral` integer — - Sets the disappearing message duration in WhatsApp group - 0: Off (no disappearing messages) - 1: 24 hours - 7: 7 days - 90: 90 days
  - `joinApprovalAdminsOnly` boolean — - When set to true, new members must be approved by an admin before joining the group - Default false

## Response `200`

200 OK

- object — The response is a chat object for the updated group. Refer to [the chat object here](/api-reference/objects/the-chat-object)

---

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