Roles
Roles and the agent.* permissions they grant.
| Command | HTTP | Description |
|---|---|---|
roles list | GET /v1/roles | List roles |
roles create | POST /v1/roles | Create role |
Examples​
--params carries query and path parameters (id, page, filters); --json carries the request body; --fields limits the fields that come back — worth using on every list/get to save context. See Global flags for the full reference.
# List roles
kobana kadu roles list --fields "id"
# Create role
kobana kadu roles create --json '{"label": "LABEL"}'
Next steps​
- Users
- Schema introspection — every parameter this resource accepts.