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

# updateGalleryGroups

> Declaratively replace a container's Discovery gallery sections. The
`galleryGroups` array defines the sections and their order (array order
becomes position). Custom sections omitted from the array are deleted; new
custom Top Spaces / Spaces Near You sections require a spacesCollectionId.
Between 0 and 8 sections may be enabled. Requires the custom_gallery_groups
billing feature. Returns the full refreshed list so newly-created sections' IDs are known.

