workspace

read the owner and grants of an instance data table's database, schema or table

Changed on
get/w/{workspace}/workspaces/datatable_acl/{datatable_name}

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/datatable_acl/{datatable_name}
  • Auth: one of:
    • HTTP bearer
    • API key in cookie token

Path parameters

workspacestring required
datatable_namestring required

Query parameters

kind'database' | 'schema' | 'table' required
schemastring
tablestring

Response

owner and grants

ownerstring required
rolesstring[] required

the roles a change may name; empty unless the caller may change anything

editableboolean required

whether the caller may plan and apply changes

cloneboolean required

whether this is a clone, whose grants stay as they were copied

supports_maintainboolean required

whether the server is Postgres 17+, which added the MAINTAIN table privilege

dbnamestring required

the database the target lives in

childrenstring[] required

a database's schemas, or a schema's tables

Changes