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

# createDefaultGalleryGroups

> Save a Discovery page's default sections, which have no ID until saved, so
each can be shown, hidden or reordered by ID. A page whose sections are
already saved is left as it is, so the call is safe to repeat. Requires the
custom_gallery_groups billing feature. Returns the page's sections.

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



**mutation** `createDefaultGalleryGroups(input: CreateDefaultGalleryGroupsInput!): CreateDefaultGalleryGroupsPayload`

## Arguments

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

Parameters for CreateDefaultGalleryGroups

## Returns

`CreateDefaultGalleryGroupsPayload`

**`clientMutationId`**: `String`

A unique identifier for the client performing the mutation.

---

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

---

**`galleryGroups`**: `[GalleryGroup!]`

## Examples

```graphql Mutation
mutation CreateDefaultGalleryGroups($input: CreateDefaultGalleryGroupsInput!) {
  createDefaultGalleryGroups(input: $input) {
    clientMutationId
    errors
    galleryGroups {
      canDelete
      galleryPage
      galleryType
      id
      isEnabled
      label
    }
  }
}
```

```json Variables
{
  "input": {}
}
```

```json Response
{
  "data": {
    "createDefaultGalleryGroups": {
      "clientMutationId": "string",
      "errors": [
        "string"
      ],
      "galleryGroups": [
        {
          "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.