ChangeLocalTableName Request

POST /Table/

This post request changes a local table name.

Note

You should specify one of: full table data(database, folder, table) or a local table name.

If defined both - full table data(database, folder, table) will be ignored.

Example request:

POST /GrantTableAccess HTTP/1.1
Host: example.com
Accept: application/json

[
  "table" : {
      "local_table_name": "some-loca-name"
  },
  "new_local_table_name": "some-new-name"
]

OR

[
  "table" : {
      "database": "some-loca-name",
      "folder": "some-folder",
      "table": "some-table"
  },
  "new_local_table_name": "some-new-name"
]
Request Headers
  • admin_token – Admin token.

Query Parameters
  • local_table_name – Local name of table.

  • databasepart of full table path Local name of table database.

  • folderpart of full table path Folder name in a database where a table is located.

  • tablepart of full table path Name of a table in folder.

Example response:

HTTP/1.1 200 OK
Vary: Accept
Content-Type: application/json

[
  {
      "status": "success",
      "new_table_name": "some-new-name"
  }
]
Status Codes