Automation Rules

Get automation rules.

get

This API has been deprecated, use /alert-actions of type 'automation_rule' instead.

Authorizations
AuthorizationstringRequired

The Bearer API key of your user more info.

Query parameters
start-indexinteger · int32Optional

an integer specifying the starting point (beginning with 0) when paging through a list of entities

Default: 0
max-resultsinteger · int32 · max: 100Optional

the maximum number of results when paging through a list of entities.

Default: 50
servicenumberRequired

The service id for which automation rules are filtered for, this param is required

sourcenumberOptional

The alert source id for which automation rules are filtered for, this param is an alternative to service

status-pagenumberOptional

The status page id for which automation rules are filtered for, this param is an alternative to service

Responses
200

The automation rules

application/json
get
/automation-rules
200

The automation rules

Create a new automation rule.

post

This API has been deprecated, use /alert-actions of type 'automation_rule' instead.

Authorizations
AuthorizationstringRequired

The Bearer API key of your user more info.

Body
idstringOptional
alertTypestring · enumOptionalPossible values:
resolveIncidentbooleanOptional
resolveServicebooleanOptional
serviceStatusstring · enumOptional

the service status

Possible values:
sendNotificationbooleanOptional
Responses
200

The newly created automation rule

application/json
post
/automation-rules
200

The newly created automation rule

Get a specific automation rule.

get

This API has been deprecated, use /alert-actions of type 'automation_rule' instead.

Authorizations
AuthorizationstringRequired

The Bearer API key of your user more info.

Path parameters
idnumberRequired

entity ID

Responses
200

The requested automation rule

application/json
get
/automation-rules/{id}
200

The requested automation rule

Update the specific automation rule

put

This API has been deprecated, use /alert-actions of type 'automation_rule' instead.

Authorizations
AuthorizationstringRequired

The Bearer API key of your user more info.

Path parameters
idnumberRequired

entity ID

Body
idstringOptional
alertTypestring · enumOptionalPossible values:
resolveIncidentbooleanOptional
resolveServicebooleanOptional
serviceStatusstring · enumOptional

the service status

Possible values:
sendNotificationbooleanOptional
Responses
200

The updated automation rule

application/json
put
/automation-rules/{id}
200

The updated automation rule

Remove a specific automation rule.

delete

This API has been deprecated, use /alert-actions of type 'automation_rule' instead.

Authorizations
AuthorizationstringRequired

The Bearer API key of your user more info.

Path parameters
idnumberRequired

entity ID

Responses
delete
/automation-rules/{id}
204

Empty body delete response

No content

Last updated

Was this helpful?