workspace

create a new PostgreSQL database for a datatable

post/w/{workspace}/workspaces/create_pg_database

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/w/{workspace}/workspaces/create_pg_database
  • Auth: one of:
    • HTTP bearer
    • API key in cookie token

Path parameters

workspacestring required

Request body

sourcestring required

Datatable source to determine connection info: 'datatable://name' or '$res:path'

target_dbnamestring required

Name for the new database

Response

status

Changes

No recorded changes to this operation across all 297 revisions of this API.