---
title: "Update group participants (add/remove/promote/demote)"
method: POST
path: "/group/updateParticipant/{instance}"
tags: ["Group"]
---

# Update group participants (add/remove/promote/demote)

`POST /group/updateParticipant/{instance}`

## Path parameters

- `instance` string, required

## Request body

- DtoGroupUpdateParticipantRequest
  - `action` 'add' | 'remove' | 'promote' | 'demote', required
  - `groupJid` string, required
  - `participants` string[], required

## Response `201`

Created

- WhatsmiauUpdateParticipantResponse
  - `participants` WhatsmiauGroupParticipantResponse[]
    - `displayName` string
    - `error` integer
    - `isAdmin` boolean
    - `isSuperAdmin` boolean
    - `jid` string
    - `lid` string

---

[API](https://skmtc.net/verbeux-ai/apis/whatsmiau-api.md) · [All operations](https://skmtc.net/verbeux-ai/apis/whatsmiau-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/verbeux-ai/whatsmiau-api/versions/5af3cb49985a/schema)
