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

# deleteGalleryGroup

> Delete a custom Top Spaces or Spaces Near You section from the Network's
Discovery page. The page's other sections cannot be deleted; hide them with
updateGalleryGroup.

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



**mutation** `deleteGalleryGroup(input: DeleteGalleryGroupInput!): DeleteGalleryGroupPayload`

## Arguments

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

Parameters for DeleteGalleryGroup

## Returns

`DeleteGalleryGroupPayload`

**`clientMutationId`**: `String`

A unique identifier for the client performing the mutation.

---

**`deletedGalleryGroupId`**: `ID`

GlobalID of the deleted section.

---

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

## Examples

```graphql Mutation
mutation DeleteGalleryGroup($input: DeleteGalleryGroupInput!) {
  deleteGalleryGroup(input: $input) {
    clientMutationId
    deletedGalleryGroupId
    errors
  }
}
```

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

```json Response
{
  "data": {
    "deleteGalleryGroup": {
      "clientMutationId": "string",
      "deletedGalleryGroupId": "id",
      "errors": [
        "string"
      ]
    }
  }
}
```


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