Database

Rename a table

Rename an existing table in the database

post/databases/{id}/tables/rename

Path parameters

idstring required

MongoDB ObjectId represented as a hexadecimal string

Object ID

Request body

namestring

Current table name

new_namestring

New table name

Response

Table renamed successfully

codeinteger
messagestring

Changes