Getting Access Group Details
Last updated on 07 October, 2024You can use LogicMonitor REST API v3 to get access group details. You must authenticate yourself before making the API request.
Getting List of Access Groups
You can include the following query parameters to control the kind of data to include in the response and how it is formatted.
URI: GET /setting/accessgroup
Parameter | Type | Description |
fields | String | The response is filtered to include only the specified fields for each object. You can provide a list of properties separated by a comma. Example – /setting/accessgroup?fields=id,description |
size | Integer | Indicates the number of results to display. A maximum of 1000 results can be requested in a GET call. By default, a list of 50 access groups is returned if a value is not provided for this parameter. Example – /setting/accessgroup?size=5 |
offset | Integer | Indicates the number of results to offset the displayed results. Example – /setting/accessgroup?offset=2 |
filter | String | The response is filtered according to the operator and specified value that is, filter=property:value
/setting/accessgroup?filter=name!~LMAccessGroup* |
Getting Details of a Specific Access Group
URI: GET /setting/accessgroup/{id}
Parameter | Type | Description |
id | Integer | (Mandatory) The ID of the access group whose details you want to get. |
fields | String | The response is filtered to include only the specified fields for each object. You can provide a list of properties separated by a comma. Example – /setting/accessgroup/id?fields=id,description |