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

# updateGalleryGroup

> Show or hide a single gallery section. `isEnabled` is the only attribute
updatable on one section; ordering is done with reorderGalleryGroup, adding a
section with createGalleryGroup and removing one with deleteGalleryGroup. The
section must be persisted (save a Discovery page's default sections with
createDefaultGalleryGroups first). At most 8 Discovery sections may be shown.

**Required scope:** `host:write:network_settings`



**mutation** `updateGalleryGroup(input: UpdateGalleryGroupInput!): UpdateGalleryGroupPayload`

## Arguments

**`input`**: `UpdateGalleryGroupInput!` (required)

Parameters for UpdateGalleryGroup

## Returns

`UpdateGalleryGroupPayload`

**`clientMutationId`**: `String`

A unique identifier for the client performing the mutation.

---

**`errors`**: `[String!]!`

---

**`galleryGroup`**: `GalleryGroup`

## Examples

```graphql Mutation
mutation UpdateGalleryGroup($input: UpdateGalleryGroupInput!) {
  updateGalleryGroup(input: $input) {
    clientMutationId
    errors
    galleryGroup {
      canDelete
      galleryPage
      galleryType
      id
      isEnabled
      label
    }
  }
}
```

```json Variables
{
  "input": {
    "galleryGroupId": "id",
    "isEnabled": true
  }
}
```

```json Response
{
  "data": {
    "updateGalleryGroup": {
      "clientMutationId": "string",
      "errors": [
        "string"
      ],
      "galleryGroup": {
        "canDelete": true,
        "galleryPage": "DISCOVERY",
        "galleryType": "BUNDLES",
        "id": "id",
        "isEnabled": true,
        "label": "string"
      }
    }
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.