我需要通过 API 获取当前在组(内部)中的所有用户,但是使用 Group rest API,我无法获取其中的用户。
curl -s -u admin:pass -H "Accept: application/json" -H "Content-Type: application/json" -X GET https://ranger.com/service/xusers/groups/14080
输出:
{
"id": 14080,
"createDate": "2019-11-18T18:17:55Z",
"updateDate": "2020-01-13T22:19:33Z",
"owner": "Admin",
"updatedBy": "Admin",
"name": "test_group",
"description": "for internal users",
"groupType": 0,
"groupSource": 0,
"isVisible": 1
}
任何指针将不胜感激。