---
title: "Rename a page, change its mode, or change who sees it"
description: "Any of name, mode, tableId and visibleTo."
canonical: "https://gtable.app/docs/builder-api/pages/update"
updated: "2026-10-05"
---

# Rename a page, change its mode, or change who sees it

`PATCH https://studio.gtable.app/v1/apps/{appId}/pages/{pageId}`

Any of name, mode, tableId and visibleTo.

A page has one mode for everyone: it cannot be locked for one group and a Template for another.

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

## Path parameters

| Name     | Type   | Required | Description |
| -------- | ------ | -------- | ----------- |
| `appId`  | string | yes      |             |
| `pageId` | 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                  | no       | Up to 120 characters. |
| `kind`      | "declarative" or "code" | no       |                       |
| `mode`      | "locked" or "template"  | no       |                       |
| `tableId`   | string                  | no       | Up to 64 characters.  |
| `visibleTo` | "\*" or string\[]       | no       |                       |
