Skip to main content
Version: 5.3

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)

NameTypeDescription
AuthorizationstringLogin and password in Base64 format for SAF Beat Manager authorization

Input Parameters (Body)

NameTypeDescription
newnamestringGroup name
filtersarray stringFilters that determine which SAF Beats belong to this group
excludesarray stringExclusions that determine which SAF Beats do not belong to this group
appsarray stringArray of apps for SAF Beats in this group
systemsarray stringArray of operating systems this group works with; if this parameter is omitted, SAF Beats with any OS are accepted
binariesarray stringArray of binaries for SAF Beats in this group

Supported Errors

StatusError ContentDescription
400Server reloads nowThe server is currently reloading data, try the request again in a few seconds
400A group named <group> already existsThe 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)

NameTypeDescription
AuthorizationstringLogin and password in Base64 format for SAF Beat Manager authorization

Input Parameters (Body)

NameTypeDescription
newnamestringGroup name
filtersarray stringFilters that determine which SAF Beats belong to this group
excludesarray stringExclusions that determine which SAF Beats do not belong to this group
appsarray stringArray of apps for SAF Beats in this group
systemsarray stringArray of operating systems this group works with; if this parameter is omitted, SAF Beats with any OS are accepted
binariesarray stringArray of binaries for SAF Beats in this group

Supported Errors

StatusError ContentDescription
400Server reloads nowThe server is currently reloading data, try the request again in a few seconds
400The group named <group> does not existThe group name received in the request does not exist
500<error writing response to request>Internal SAF Beat Manager error
400A group named <group> already existThe 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)

NameTypeDescription
AuthorizationstringLogin and password in Base64 format for SAF Beat Manager authorization

Supported Errors

StatusError ContentDescription
400Server reloads nowThe server is currently reloading data, try the request again in a few seconds
400The group named <group> does not existThe 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