Docs
Live demo

List privilege catalog for an engine

GET/api/v2/catalog/privileges/{engine}
access:readAPI token

Return the canonical privilege catalog for a SQL engine. Sourced from the backend's sqlutil canonical lists so frontend tools (template wizard, rule view) can drive their UI off a single shared whitelist.

Parameters

Path1 required of 1
enginestringpathrequired

Engine identifier

mysqlpostgresclickhousemongodb

Responses

200

OK

PrivilegeCatalogResponse · 4 fields
enginestringrequired
example "mysql"
privilegesarray of stringrequired
global_onlyarray of string
itemsarray of PrivilegeCatalogItem

Privileges with their kind, the levels they can be granted on and their risk (MongoDB)

5 fields
namestringrequired
example "readWrite"
kindstringrequired
roleaction
scopesarray of stringrequired
accountdatabasecollection
riskstringrequired
lowmediumhighcritical
descriptionstringrequired
400

The request does not match the operation contract (request.invalid): a parameter or body field has the wrong type, format or value.

404

Unknown engine

Common errors: 401 403 429 504. They mean the same for every operation, see Errors.

↑ ↓ to moveEnter to openEsc to close