Get All SaaSDR Users Group API
Get details of all SaaSDR user groups.
Input ParametersInput Parameters
|
Parameter |
Required/ |
Data Type |
Description |
|---|---|---|---|
|
size |
Optional | Integer |
Specify the number of records per page to be included in the response. If size is not specified in the request, 50 records will be fetched by default. The maximum value supported for size is 200. |
|
page |
Optional | Integer |
Specify the page to be returned. Default page value is 0. |
|
query |
Optional | String |
Filter the response by providing a query using Qualys QQL syntax. |
Sample - To Fetch All User GroupsSample - To Fetch All User Groups
API Request
curl-k -X GET -H <token> -i "<qualys_base_url>/sdr/api/v1/groups"
Response
{
"content":[
{
"customerId":"4eaa64f9-771c-745e-810a-37d3f4c38a49",
"connector":{
"id":2192,
"type":"SALESFORCE"
},
"sourceId":"0F90n0000000kbRCAQ",
"version":1,
"domain":"post.0n-1n43eae.cs67.chatter.sandbox.salesforce.com",
"email":"0f90n0000000kbrcaq@post.0n-1n43eae.cs67.chatter.sandbox.salesforce.com",
"name":"05.01",
"nameAlias":"05.01",
"createdDate":"2021-01-05T04:01:26Z",
"lastUpdatedDate":"2021-04-07T03:00:27Z",
"aliases":"Private",
"entityType":"CHATTER GROUP",
"accessType":"Internal",
"directMembersCount":3,
"members":[
{
"groupId":"0F90n0000000kbRCAQ@post.0n-1n43eae.cs67.chatter.sandbox.salesforce.com",
"role":"MEMBER",
"entityType":"USER",
"accessType":"Internal",
"domain":"gmail.com",
"userId":"0050n000003EqkcAAC",
"email":"[email protected]",
"fullName":"TestUser-0012"
},
{
"groupId":"0F90n0000000kbRCAQ@post.0n-1n43eae.cs67.chatter.sandbox.salesforce.com",
"role":"ADMIN",
"entityType":"USER",
"accessType":"Internal",
"domain":"abc.com",
"userId":"0050n000003Mg2eAAC",
"email":"[email protected]",
"fullName":"user"
},
{
"groupId":"0F90n0000000kbRCAQ@post.0n-1n43eae.cs67.chatter.sandbox.salesforce.com",
"role":"MEMBER",
"entityType":"USER",
"accessType":"Internal",
"domain":"abc.com",
"userId":"0050n000003Mg3wAAC",
"email":"[email protected]",
"fullName":"TestUser-001"
}
]
}
],
"pageable":{
"sort":{
"sorted":true,
"unsorted":false,
"empty":false
},
"pageNumber":0,
"pageSize":1,
"offset":0,
"paged":true,
"unpaged":false
},
"totalElements":241,
"last":false,
"totalPages":241,
"first":true,
"sort":{
"sorted":true,
"unsorted":false,
"empty":false
},
"numberOfElements":1,
"size":1,
"number":0,
"empty":false
}