Put someone in an app
Grant app access in one or more roles.
POST/v1/apps/{appId}/members
Access is the union of role grants; adding a role only adds access. An unknown email is added to the suite directory automatically; do not call users.invite first.
Requires the members:write scope. Operation members.add. MCP tool members_add. CLI: grid82 members add (npx grid82).
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 | |
roles | string[] | yes |
Response
Success
dataobjectrequiredRefused
errorobjectrequired