setting

rename a data table role or turn its login on and off

Changed on
post/settings/datatable_roles/{id}

Request

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

Path parameters

idstring required

Request body

namestring
enabledboolean

Response

the updated role

idstring required
namestring required
enabledboolean required
cluster'instance' | 'external_instance' required

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.

in_useboolean

Whether any data table, in any workspace, lets someone connect as this role. Only set in a data table's available_roles.

Changes