The User Groups v3 APIs allow you to perform various operations to user groups configured under User Management in the system. Browse through the following APIs to perform required operations to user groups:
Retrieves the list of all configured user groups.
Syntax
https://[APM-HOST]:[APM-PORT]/api/v3/usergroupsSupported HTTP methods: GET
Allowed Roles: Administrator, User
Sample Request:
https://apm-prod-server:8443/api/v3/usergroups
Header:
authorization=c3d0530476e7eb7fbc5345ebea3a89deSample Response (200 OK):
{
"message": "success",
"data": [
{
"id": 1,
"name": "Network Team",
"authentication": "Local Authentication",
"domainName": "-",
"userLoginRole": "Administrator",
"userProfile": [
"admin",
"john.doe"
],
"monitorGroup": [
"Production Servers",
"Database Monitors"
]
},
{
"id": 2,
"name": "DevOps Group",
"authentication": "Domain Authentication",
"domainName": "corp.example.com",
"userLoginRole": "Operator",
"userProfile": [
"jane.smith"
],
"monitorGroup": [
"Web Servers"
]
}
],
"meta": {}
}Deletes a single user group by its ID.
Syntax
https://[APM-HOST]:[APM-PORT]/api/v3/usergroups/{userGroupId}Supported HTTP methods: DELETE
Allowed Roles: Administrator
API Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| Path Parameter | |||
userGroupId | Long | Yes | The unique ID of the user group |
Sample Request:
https://apm-prod-server:8443/api/v3/usergroups/2
Header:
authorization=c3d0530476e7eb7fbc5345ebea3a89deSample Response (200 OK):
{
"message": "success",
"data": [
"am.webclient.useradministration.usergroup.delete.success"
],
"meta": {}
}Deletes multiple user groups at once using comma-separated user group IDs.
Syntax
https://[APM-HOST]:[APM-PORT]/api/v3/usergroupsSupported HTTP methods: DELETE
Allowed Roles: Administrator
Content-Type:application/x-www-form-urlencoded
API Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| Request Parameter | |||
userGroupIds | String | Yes | Comma-separated list of user group IDs |
Sample Request:
https://apm-prod-server:8443/api/v3/usergroups
Header:
authorization=c3d0530476e7eb7fbc5345ebea3a89de
Body (form-urlencoded):
userGroupIds=2,4,6Sample Response (200 OK):
{
"message": "success",
"data": [
"am.webclient.useradministration.usergroup.delete.success"
],
"meta": {}
}It allows us to track crucial metrics such as response times, resource utilization, error rates, and transaction performance. The real-time monitoring alerts promptly notify us of any issues or anomalies, enabling us to take immediate action.
Reviewer Role: Research and Development