> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.revvue.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.revvue.ai/_mcp/server.

# jonnaWikiSetGroupLocations

GraphQL MUTATION

Replace a group's location membership wholesale (set semantics — adds the diff in, removes the diff out). Bumps the wiki write epoch so cached scope reads refresh.

Reference: https://docs.revvue.ai/api-reference/knowledge-hub/mutations/jonna-wiki-set-group-locations

## GraphQL Schema

```graphql
mutation ExampleMutation($groupId: String!, $locationIds: [String!]!) {
  jonnaWikiSetGroupLocations(groupId: $groupId, locationIds: $locationIds) {
    id
    tenantId
    name
    description
    createdAt
    updatedAt
    locationCount
  }
}
```

## Variables

```json
{
  "groupId": "example",
  "locationIds": [
    "example"
  ]
}
```