Members
Put someone in an app
Gives a user from the directory access to this app, in one or more groups.
POST/v1/apps/{appId}/members
Their access is the union of what those groups grant, so adding a group can only add. Pass an email that is not in the directory yet and they are added to it first.
Requires the members:write scope. Operation members.add. MCP tool members_add. CLI, once published: gtable members add.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
appId | 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 |
|---|---|---|---|
userId | string | no | Up to 64 characters. |
email | string | no | |
groups | string[] | yes |
Response
Success
dataobjectrequiredRefused
errorobjectrequired