List people, groups or accounts
GET/v1/login/boo-admin/subjects
The people, groups or accounts Boo · Admin reports and allocates by, each with its ID and name: the names for usage and plans. A person comes with their email, status and groups.
Permission: boo-admin:ListAllocations, or boo-admin:GetUsage
Query parameters
| Name | |
|---|---|
kind |
user, group or account (required) |
page_size |
rows per page, 1 to 100 (50 if left out) |
after |
the next_after of the page before |
Returns
200 OK
{
"subjects": [
{
"id": "8f0c2c1e-6b1a-4f3e-9a51-0c3d2f7e9b10",
"name": "Pat Lee",
"email": "pat@example.com",
"status": "active",
"group_ids": ["3b7d9a42-1c5e-4f80-b2d6-7e91a0c4f5e3"]
}
],
"next_after": ""
}Example
curl "https://<company>.yotta.bot/v1/login/boo-admin/subjects?kind=user" \
-H "Authorization: Bearer $YOTTABOT_TOKEN"With yottactl
yottactl org boo subjects --query kind=user