Skip to Content
Referenceoo CLI

oo grants

API permission grants; oo permissions is the simpler way.

API permission grants; oo permissions is the simpler way. These commands call the /api/v1/auth/grants routes; oo api routes --path /api/v1/auth/grants shows their inputs and permissions.

oo grants list

List grants

oo grants list [options]
ArgumentRequiredDefaultChoicesDescription
--query NAME=VALUEno

It also takes the connection options.

oo grants create

Create one from a JSON body

oo grants create [options]
ArgumentRequiredDefaultChoicesDescription
--json @FILE|@-yes
--output OUTPUTnowrite response to a protected file (required for a new credential)
--overwriteno

It also takes the connection options.

oo grants delete

Delete one by ID

oo grants delete [options] id
ArgumentRequiredDefaultChoicesDescription
idyesID from oo grants list
--output OUTPUTnowrite response to a protected file (required for a new credential)
--overwriteno
--yesnoconfirm it now; an agent passes it only once the person confirmed it in chat

It also takes the connection options.

On this page