post https://example.com/device/v1/devices//alerts/
Create a new Device Alert by Template name
Request Body Parameters:
Parameter | Type | Mandatory | Description | Example |
---|---|---|---|---|
<customAttribute1> | <customAttribute1Type> | false | Regular custom attribute 1 value | |
<customAttributeN> | <customAttributeNType> | false | Regular custom attribute N value | |
_clearNotes | string | false | Clear notes | |
_name | string | false | The name of the alert | |
_severity | string | false | The alert wanted severity Values:CRITICAL,MAJOR,MINOR,INFO Default:INFO | MAJOR |
_state | string | false | The alert wanted state Values:ACTIVE,CLEARED,SUSPENDED Default:ACTIVE | ACTIVE |
Path Parameters:
Parameter | Type | Mandatory | Description | Example |
---|---|---|---|---|
deviceId | string | true | null | |
templateName | string | true | null |
This API requires PROTECTED_API permission(s).