Directory
Rename or suspend someone
Suspending keeps the user in the directory and in their apps, but refuses their next sign-in and every request from their credentials.
PATCH/v1/users/{userId}
Reinstating is the same call with status active.
Requires the members:write scope. Operation users.update. MCP tool users_update. CLI, once published: gtable users update.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
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 |
|---|---|---|---|
name | string or null | no | |
status | “active” or “invited” or “suspended” | no |
Response
Success
dataobjectrequiredRefused
errorobjectrequired