---
title: "Rename or suspend someone"
description: "Suspending keeps the user in the directory and in their apps, but refuses their next sign-in and every request from their credentials."
canonical: "https://gtable.app/docs/builder-api/users/update"
updated: "2026-10-05"
---

# Rename or suspend someone

`PATCH https://studio.gtable.app/v1/users/{userId}`

Suspending keeps the user in the directory and in their apps, but refuses their next sign-in and every request from their credentials.

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       |             |
