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

# updateSpacesCollection

> Update a Spaces Collection's name, description, or member visibility. Pass at
least one of them; anything omitted is left as it is. Sidebar ordering is
`reorderSpacesCollection`.

**Required scope:** `host:write:network_spaces`



**mutation** `updateSpacesCollection(input: UpdateSpacesCollectionInput!): UpdateSpacesCollectionPayload`

## Arguments

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

Parameters for UpdateSpacesCollection

## Returns

`UpdateSpacesCollectionPayload`

**`clientMutationId`**: `String`

A unique identifier for the client performing the mutation.

---

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

---

**`spacesCollection`**: `SpacesCollection`

## Examples

```graphql Mutation
mutation UpdateSpacesCollection($input: UpdateSpacesCollectionInput!) {
  updateSpacesCollection(input: $input) {
    clientMutationId
    errors
    spacesCollection {
      avatarUrls
      createdAt
      description
      explorable
      galleryGroups {
        canDelete
        galleryPage
        galleryType
        id
        isEnabled
        label
      }
      id
    }
  }
}
```

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

```json Response
{
  "data": {
    "updateSpacesCollection": {
      "clientMutationId": "string",
      "errors": [
        "string"
      ],
      "spacesCollection": {
        "avatarUrls": [
          "string"
        ],
        "createdAt": "value",
        "description": "string",
        "explorable": true,
        "galleryGroups": [
          {
            "canDelete": true,
            "galleryPage": "DISCOVERY",
            "galleryType": "BUNDLES",
            "id": "id",
            "isEnabled": true,
            "label": "string"
          }
        ],
        "id": "id"
      }
    }
  }
}
```


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