Response is a JSON-formatted array of System Tag Hashes, one hash per System tag.
Note that each System Tag Hash contains a single TAG_ID (tag “id”), which is the tag itself, and an array of “uuids”, one for each monitored system with the tag of reference attached.
Show
Retrieve in-depth information about the Systems tagged with the specified SYSTEM_TAG.
Required Parameters:
SYSTEM_TAG as part of the path.
CURL Command, and variations:
CURL Response:
Response is a JSON-encoded array of hashes containing details of all systems associated with the SYSTEM_TAG.
Note: the results above indicate that the tag ‘winserver’ is associated with 5 systems, all hidden.
Create
Add a new System Tag to one or more monitored Systems.
Required params:
SYSTEM_TAG as part of the path
one or more uuids to which the tag will be applied
if specifying more than one uuid, use a comma-separated list
Example:
In the following example, SYSTEM_TAG “systemtest” will be applied to an existing system.
CURL Command, and variations:
CURL Response:
Response is Status 200, empty JSON:
Delete
Remove a tag from one system.
Required params:
SYSTEM_TAG as part of the path
UUID of the system from which the tag will be removed, as part of the path