parameters: - $ref: '#/components/parameters/account_id' - name: id in: path required: true schema: type: number description: ID of the group contact patch: tags: - Groups operationId: contact-group-admin-update summary: Update Group Property description: Updates a WhatsApp group property. "announce" controls whether only admins can send messages. "restrict" controls whether only admins can edit group info. "join_approval_mode" controls whether new members must be approved by an admin. "member_add_mode" controls whether all members or only admins can add new members. security: - userApiKey: [] requestBody: required: true content: application/json: schema: type: object required: - property - enabled properties: property: type: string enum: ['announce', 'restrict', 'join_approval_mode', 'member_add_mode'] description: The group property to update enabled: type: boolean description: Whether to enable or disable the property responses: '200': description: Property updated successfully '401': description: Unauthorized '422': description: Provider unavailable content: application/json: schema: $ref: '#/components/schemas/bad_request_error'