> ## 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.

# Remove groups

> Unlinks one or more groups from a community.



## OpenAPI

````yaml openapi.evolution-go.json POST /community/remove
openapi: 3.1.0
info:
  title: Evolution GO Layer
  version: 1.0.0
  description: >-
    Pilot Status API Layer — Evolution GO. Base URL
    `https://pilotstatus.com.br/api/layer/evolution-go`. Authenticate with the
    `apikey` header (your Pilot Status `ps_` key) or `Authorization: Bearer`.
    Instance/session endpoints are NOT available through the layer.
servers:
  - url: https://pilotstatus.com.br/api/layer/evolution-go
security:
  - apiKey: []
tags:
  - name: Call (voice)
  - name: Chat
  - name: Community
  - name: Group
  - name: Label
  - name: Message
  - name: Newsletter / Channels
  - name: Send (load-balanced)
  - name: User / Contacts
paths:
  /community/remove:
    post:
      tags:
        - Community
      summary: Remove groups
      description: Unlinks one or more groups from a community.
      operationId: post__community_remove
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                communityJid:
                  type: string
                  description: JID of the target community.
                  example: 120363000000000000@g.us
                groupJid:
                  type: array
                  items:
                    type: string
                  description: Array of group JIDs to remove from the community.
                  example:
                    - 120363111111111111@g.us
              required:
                - communityJid
                - groupJid
      responses:
        '200':
          description: Success — provider-native response body.
          content:
            application/json:
              schema:
                type: object
                description: >-
                  Envelope reporting which groups were successfully unlinked
                  from (removed from) the community and which failed.
                properties:
                  message:
                    type: string
                    description: Constant success indicator ("success").
                  data:
                    type: object
                    description: Per-group outcome of the unlink operation.
                    properties:
                      success:
                        type: array
                        description: >-
                          JIDs of groups successfully unlinked from the
                          community.
                        items:
                          type: string
                      failed:
                        type: array
                        description: JIDs of groups that failed to unlink.
                        items:
                          type: string
              example:
                message: success
                data:
                  success:
                    - 120363021234567890@g.us
                  failed: []
        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>`.

````