List Groups (V2)
Lists SCIM groups in the calling organization.
The base URL for this API is in the following format:
https://api.cloud.zilliz.com
The endpoints on the control plane currently supports up to 20 requests per second per user per endpoint.
export BASE_URL="https://api.cloud.zilliz.com"
The authentication token should be an API key with appropriate privileges.
A substring to match against group display names.
The page number to return. The first page is 1.
The number of items to return per page.
export TOKEN="YOUR_API_KEY"
curl --request GET \
--url "${BASE_URL}/v2/groups" \
--header "Authorization: Bearer ${TOKEN}" \
--header "Request-Timeout: 5" \
--header "Content-Type: application/json"
Returns a successful result or an error message.
A successful response.
The response code.
The total number of matching items.
The current page number.
The requested page size.
The groups returned on this page.
The SCIM group ID.
The group display name.
The number of members in the group.
A failure response.
The response code.
The error message.
{
"code": 0,
"data": {
"count": 2,
"currentPage": 1,
"pageSize": 10,
"groups": [
{
"groupId": "g-xxxxxxxxxxxxxx",
"groupName": "engineering",
"memberCount": 12
},
{
"groupId": "g-yyyyyyyyyyyyyy",
"groupName": "data-readers",
"memberCount": 3
}
]
}
}