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]| Argument | Required | Default | Choices | Description |
|---|---|---|---|---|
--query NAME=VALUE | no |
It also takes the connection options.
oo grants create
Create one from a JSON body
oo grants create [options]| Argument | Required | Default | Choices | Description |
|---|---|---|---|---|
--json @FILE|@- | yes | |||
--output OUTPUT | no | write response to a protected file (required for a new credential) | ||
--overwrite | no |
It also takes the connection options.
oo grants delete
Delete one by ID
oo grants delete [options] id| Argument | Required | Default | Choices | Description |
|---|---|---|---|---|
id | yes | ID from oo grants list | ||
--output OUTPUT | no | write response to a protected file (required for a new credential) | ||
--overwrite | no | |||
--yes | no | confirm it now; an agent passes it only once the person confirmed it in chat |
It also takes the connection options.