GET /organizations/list/
Description
Lists organizations.
Endpoints
GET /organizations/list/{owner-id}/
GET /organizations/list/all/
Returns id, name, owner_id, user_count for all organizations, or organizations owned by owner-id. The returned owner_id is either the manager admin's user id, or 0 if owned by the partition admin.
[
{
"id": "5",
"name": "Office 1",
"owner_id": "0",
"user_count": "5"
},
{
"id": "1",
"name": "Office 2",
"owner_id": "0",
"user_count": "7"
}
]
Description
Lists organizations.
Endpoints
GET /organizations/list/{owner-id}/GET /organizations/list/all/
Returns id, name, owner_id, user_count for all organizations, or organizations owned by owner-id. The returned owner_id is either the manager admin's user id, or 0 if owned by the partition admin.
[ { "id": "5", "name": "Office 1", "owner_id": "0", "user_count": "5" }, { "id": "1", "name": "Office 2", "owner_id": "0", "user_count": "7" }]