Modifying Group Settings
POST /edit/serverclass/<group name>
Creates a new group:
curl -k -XPOST https://<SAF BM-IP address>:7769/edit/serverclass/<group name>
Input Parameters (Headers)
| Name | Type | Description |
|---|---|---|
| Authorization | string | Login and password in Base64 format for SAF Beat Manager authorization |
Input Parameters (Body)
| Name | Type | Description |
|---|---|---|
| newname | string | Group name |
| filters | array string | Filters that determine which SAF Beats belong to this group |
| excludes | array string | Exclusions that determine which SAF Beats do not belong to this group |
| apps | array string | Array of apps for SAF Beats in this group |
| systems | array string | Array of operating systems this group works with; if this parameter is omitted, SAF Beats with any OS are accepted |
| binaries | array string | Array of binaries for SAF Beats in this group |
Supported Errors
| Status | Error Content | Description |
|---|---|---|
| 400 | Server reloads now | The server is currently reloading data, try the request again in a few seconds |
| 400 | A group named <group> already exists | The group name received in the request already exists |
| 500 | <error writing response to request> | Internal SAF Beat Manager error |
Examples
Output parameters example:
Success edit serverclass
PUT /edit/serverclass/<group name>
Modifies the settings of an existing group:
curl -k -XPUT https://<SAF BM IP-address>:7769/edit/serverclass/<group name>
Input Parameters (Headers)
| Name | Type | Description |
|---|---|---|
| Authorization | string | Login and password in Base64 format for SAF Beat Manager authorization |
Input Parameters (Body)
| Name | Type | Description |
|---|---|---|
| newname | string | Group name |
| filters | array string | Filters that determine which SAF Beats belong to this group |
| excludes | array string | Exclusions that determine which SAF Beats do not belong to this group |
| apps | array string | Array of apps for SAF Beats in this group |
| systems | array string | Array of operating systems this group works with; if this parameter is omitted, SAF Beats with any OS are accepted |
| binaries | array string | Array of binaries for SAF Beats in this group |
Supported Errors
| Status | Error Content | Description |
|---|---|---|
| 400 | Server reloads now | The server is currently reloading data, try the request again in a few seconds |
| 400 | The group named <group> does not exist | The group name received in the request does not exist |
| 500 | <error writing response to request> | Internal SAF Beat Manager error |
| 400 | A group named <group> already exist | The group name received in the request already exists |
Examples
Output parameters example:
Success edit serverclass
DELETE /edit/serverclass/<group name>
Deletes a group:
curl -k -XDELETE https://<SAF BM IP-address>:7769/edit/serverclass/<group name>
Input Parameters (Headers)
| Name | Type | Description |
|---|---|---|
| Authorization | string | Login and password in Base64 format for SAF Beat Manager authorization |
Supported Errors
| Status | Error Content | Description |
|---|---|---|
| 400 | Server reloads now | The server is currently reloading data, try the request again in a few seconds |
| 400 | The group named <group> does not exist | The group name received in the request does not exist |
| 500 | <error writing response to request> | Internal SAF Beat Manager error |
Examples
Output parameters example:
Success edit serverclass