---
title: "Change someone's groups in an app"
description: "Replaces the whole group list for this user in this app."
canonical: "https://gtable.app/docs/builder-api/members/update"
updated: "2026-10-05"
---

# Change someone's groups in an app

`PATCH https://studio.gtable.app/v1/apps/{appId}/members/{userId}`

Replaces the whole group list for this user in this app.

Their access is recomputed as the union of the new list; nothing else about them changes, in this app or any other.

Requires the `members:write` scope. Operation `members.update`. MCP tool `members_update`. CLI, once published: `gtable members update`.

## Path parameters

| Name     | Type   | Required | Description |
| -------- | ------ | -------- | ----------- |
| `appId`  | string | yes      |             |
| `userId` | string | yes      |             |

## Headers

| Name              | Type   | Required | Description                                                                                                                                                                                                                                                        |
| ----------------- | ------ | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `Idempotency-Key` | string | no       | Any unique string. Sending the same key with the same request again returns the first response (marked `Idempotency-Replayed: true`) instead of running it twice. Reusing it for a different request is refused with 409. Kept for 24 hours. Up to 255 characters. |

## Request body

| Field    | Type      | Required | Description |
| -------- | --------- | -------- | ----------- |
| `groups` | string\[] | yes      |             |
