[[["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-06-30 UTC."],[[["\u003cp\u003eThis API endpoint facilitates the movement of a table from one database to another within a specified metastore service.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePOST\u003c/code\u003e request to \u003ccode\u003ehttps://metastore.googleapis.com/v1alpha/{service}:moveTableToDatabase\u003c/code\u003e requires the service path parameter, representing the metastore service's resource name, to identify the target metastore.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be in JSON format and include the \u003ccode\u003etableName\u003c/code\u003e, \u003ccode\u003edbName\u003c/code\u003e, and \u003ccode\u003edestinationDbName\u003c/code\u003e, which define the table to move, its current database, and the new destination database, respectively.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful operations return an instance of \u003ccode\u003eOperation\u003c/code\u003e, and authorization requires the \u003ccode\u003emetastore.services.mutateMetadata\u003c/code\u003e IAM permission and the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.services.moveTableToDatabase\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- [Examples](#examples)\n- [Try it!](#try-it)\n\nMove a table to another database.\n\n### HTTP request\n\n`POST https://metastore.googleapis.com/v1alpha/{service}:moveTableToDatabase`\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 [Operation](/dataproc-metastore/docs/reference/rest/Shared.Types/ListOperationsResponse#Operation).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/)."]]