Create a new Device Alert by Template name

Create a new Device Alert by Template name

Request Body Parameters:

ParameterTypeMandatoryDescriptionExample
<customAttribute1><customAttribute1Type>falseRegular custom attribute 1 value
<customAttributeN><customAttributeNType>falseRegular custom attribute N value
_clearNotesstringfalseClear notes
_namestringfalseThe name of the alert
_severitystringfalseThe alert wanted severity Values:CRITICAL,MAJOR,MINOR,INFO Default:INFOMAJOR
_statestringfalseThe alert wanted state Values:ACTIVE,CLEARED,SUSPENDED Default:ACTIVEACTIVE
Path Parameters:
ParameterTypeMandatoryDescriptionExample
deviceIdstringtruenull
templateNamestringtruenull
Query Parameters:
ParameterTypeMandatoryDescriptionExample
includeReferencersbooleanfalseOptional query parameter that controls whether the response should include referencers metadata.
When set to true, the response will contain an additional _referencers JSON node with information about entities that reference this entity (e.g. referrer template, attribute, count, etc.).
If this query parameter is not provided, a default behavior will be applied. The default value is configurable and may differ between environments.
Note: Enabling referencers information may impact performance, as additional data needs to be resolved and returned.

This API requires PROTECTED_API permission(s).

Path Params
string
required
string
required
Query Params
boolean

Optional query parameter that controls whether the response should include referencers metadata.
When set to true, the response will contain an additional _referencers JSON node with information about entities that reference this entity (e.g. referrer template, attribute, count, etc.).
If this query parameter is not provided, a default behavior will be applied. The default value is configurable and may differ between environments.
Note: Enabling referencers information may impact performance, as additional data needs to be resolved and returned.

Body Params
string
enum
Defaults to ACTIVE

The alert wanted state

Allowed:
string
enum
Defaults to INFO

The alert wanted severity

Allowed:
string

Clear notes

string
length between 1 and 64

The name of the alert

Headers
string
enum
Defaults to async

X-Execution-Mode — Optional header to control execution mode.

Use sync to make the API wait until all background operations complete before returning a response.

If omitted, the request is processed asynchronously (default).

Allowed:
Responses

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json