Skip to main content

CREATE OR UPDATE Rule

PATCH 

/workspaces/:workspaceId/alerting/rules/:ruleName

CREATE OR UPDATE Rule

Request

Path Parameters

    workspaceId uuidrequired
    ruleName stringrequired

Header Parameters

    If-None-Match string

    To ensure that no existing rule is updated pass If-None-Match header set to "*".

Body

    deviceId stringnullable

    Applicable when rule is created.

    streamName stringnullable

    Required when rule is created.

    streamGroupName stringnullable

    Required when rule is created.

    inactivityTimeout [d.]hh:mm:ss[.fffffff]nullable

    Applicable when rule is updated. Minimum timeout is 1 minute, maximum is not limited.

    targets string[]nullable

    Applicable when rule is updated.

Responses

Rule has been updated.

Loading...