Required. The table's name field is used to identify the table to rename. Format: projects/{project_id_or_number}/locations/{locationId}/catalogs/{catalogId}/databases/{databaseId}/tables/{tableId}
Request body
The request body contains data with the following structure:
JSON representation
{"newName": string}
Fields
newName
string
Required. The new name for the specified table, must be in the same database. Format: projects/{project_id_or_number}/locations/{locationId}/catalogs/{catalogId}/databases/{databaseId}/tables/{tableId}
Response body
If successful, the response body contains an instance of Table.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-02 UTC."],[[["\u003cp\u003eThis endpoint allows renaming an existing table within a specific database using a POST request to a defined URL structure.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires specifying the table's current \u003ccode\u003ename\u003c/code\u003e via path parameters and the desired \u003ccode\u003enewName\u003c/code\u003e for the table within the request body, both following a specific format.\u003c/p\u003e\n"],["\u003cp\u003eA successful request returns an instance of a \u003ccode\u003eTable\u003c/code\u003e object in the response body.\u003c/p\u003e\n"],["\u003cp\u003eTo authorize the request, one of two specified OAuth scopes are needed: \u003ccode\u003ehttps://www.googleapis.com/auth/bigquery\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eRenaming a table requires the \u003ccode\u003ebiglake.tables.update\u003c/code\u003e IAM permission on the table's \u003ccode\u003ename\u003c/code\u003e resource.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.catalogs.databases.tables.rename\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n- [Authorization Scopes](#body.aspect)\n- [IAM Permissions](#body.aspect_1)\n- [Try it!](#try-it)\n\nRenames an existing table specified by the table ID.\n\n### HTTP request\n\n`POST https://biglake.googleapis.com/v1/{name=projects/*/locations/*/catalogs/*/databases/*/tables/*}:rename`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body contains data with the following structure:\n\n### Response body\n\nIf successful, the response body contains an instance of [Table](/bigquery/docs/reference/biglake/rest/v1/projects.locations.catalogs.databases.tables#Table).\n\n### Authorization Scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/bigquery`\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/).\n\n### IAM Permissions\n\nRequires the following [IAM](https://cloud.google.com/iam/docs) permission on the `name` resource:\n\n- `biglake.tables.update`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]