> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pilotstatus.com.br/llms.txt
> Use this file to discover all available pages before exploring further.

# Update participants

> Adds, removes, promotes, or demotes group participants.



## OpenAPI

````yaml openapi.evolution-v2.json POST /group/updateParticipant/{instance}
openapi: 3.1.0
info:
  title: Evolution V2 Layer
  version: 1.0.0
  description: >-
    Pilot Status API Layer — Evolution V2. Base URL
    `https://pilotstatus.com.br/api/layer/evolution-v2`. Authenticate with the
    `apikey` header (your Pilot Status `ps_` key). Instance/session endpoints
    are NOT available through the layer.
servers:
  - url: https://pilotstatus.com.br/api/layer/evolution-v2
security:
  - apiKey: []
tags:
  - name: Call & Business
  - name: Chat
  - name: Group
  - name: Label
  - name: Message
  - name: Profile
  - name: Settings & Proxy
  - name: Storage (S3)
  - name: Template
paths:
  /group/updateParticipant/{instance}:
    post:
      tags:
        - Group
      summary: Update participants
      description: Adds, removes, promotes, or demotes group participants.
      operationId: post__group_updateParticipant_instance
      parameters:
        - name: instance
          in: path
          required: true
          schema:
            type: string
          description: The number's display name in the Pilot Status dashboard.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                groupJid:
                  type: string
                  description: >-
                    Group JID (may also be sent as a `groupJid` query
                    parameter).
                  example: 120363000000000000@g.us
                action:
                  type: string
                  description: One of `add`, `remove`, `promote`, `demote`.
                  example: add
                participants:
                  type: array
                  items:
                    type: string
                  description: Phone numbers (digits only) to apply the action to.
                  example:
                    - '5511999999999'
              required:
                - groupJid
                - action
                - participants
      responses:
        '200':
          description: Success — provider-native response body.
          content:
            application/json:
              schema:
                type: object
                description: >-
                  Per-participant results of the add/remove/promote/demote
                  operation (raw Baileys groupParticipantsUpdate output).
                properties:
                  updateParticipants:
                    type: array
                    description: One entry per affected participant.
                    items:
                      type: object
                      properties:
                        status:
                          type: string
                          description: >-
                            Result code for the participant, e.g. '200' on
                            success or '403'/'408' on failure.
                        jid:
                          type: string
                          description: JID of the affected participant.
                        content:
                          type: object
                          description: >-
                            Raw binary node returned by WhatsApp for this
                            participant (present on some responses).
                          properties:
                            tag:
                              type: string
                              description: Node tag, e.g. 'participant'.
                            attrs:
                              type: object
                              description: Node attributes.
                              properties:
                                jid:
                                  type: string
                                  description: Participant JID.
              example:
                updateParticipants:
                  - status: '200'
                    jid: 5511988888888@s.whatsapp.net
                    content:
                      tag: participant
                      attrs:
                        jid: 5511988888888@s.whatsapp.net
                  - status: '200'
                    jid: 5511977777777@s.whatsapp.net
                    content:
                      tag: participant
                      attrs:
                        jid: 5511977777777@s.whatsapp.net
        default:
          description: Error — provider or layer error.
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: integer
                  error:
                    type: string
                  message:
                    type: string
                  response:
                    type: object
              example:
                status: 400
                error: Bad Request
                message: Invalid payload
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: apikey
      description: >-
        Your Pilot Status API key (ps_...). Evolution GO also accepts
        `Authorization: Bearer <key>`.

````