Rename database
https://api.xata.io/workspaces/workspace_id/dbs/db_name/rename
Given a parameter `db_name`, this path allows you to rename your Xata database. When you rename a database all URLs accessing the database have to be updated.
Expected parameters
Name | Description | In | Required | Schema |
---|---|---|---|---|
workspace_id | Workspace ID | path | ✅ | string |
db_name | The Database Name | path | ✅ | string |
Rename Database
POSThttps://api.xata.io/workspaces/workspace_id/dbs/db_name/rename
Change the name of an existing database