---
title: "POST /v1/{+service}:moveTableToDatabase"
method: POST
path: "/v1/{+service}:moveTableToDatabase"
tags: ["projects"]
---

# POST /v1/{+service}:moveTableToDatabase

`POST /v1/{+service}:moveTableToDatabase`

Move a table to another database.

## Path parameters

- `service` string, required

## Request body

- MoveTableToDatabaseRequest — Request message for DataprocMetastore.MoveTableToDatabase.
  - `tableName` string — Required. The name of the table to be moved.
  - `dbName` string — Required. The name of the database where the table resides.
  - `destinationDbName` string — Required. The name of the database where the table should be moved.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/metastore.md) · [All operations](https://skmtc.net/google/apis/metastore/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/metastore/versions/303a0939d73e/schema)
