workspace

get who may connect to a data table as which role

Changed on
get/w/{workspace}/workspaces/datatable_permissions/{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_permissions/{datatable_name}
  • Auth: one of:
    • HTTP bearer
    • API key in cookie token

Path parameters

workspacestring required
datatable_namestring required

Response

the data table's roles and their tenants

supportedboolean required

Whether this data table can be put under roles at all. Only one on a database Windmill manages can: a role is a login on that database's cluster.

cluster'instance' | 'external_instance'

The Windmill-managed Postgres cluster a data table role is a login on: Windmill's own (behind instance data tables) or the external instance cluster (behind external_instance ones). Defaults to instance.

permissionedboolean required
default_rolestring required
governing_workspace_idstring
editableboolean required

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the required property // to the response with the status