Skip to main content
Platform Operations/Platform Self-Monitor

UpdateSelfMonRule

Update the threshold of an existing self-monitoring alert rule.

PUT/api/v1/self-monitor/rules/{ruleId}

Operation ID

UpdateSelfMonRule

Since

1.0.0

Execution Mode

Synchronous

Auth Context

Auth Required

Auth Context

Send these values as request headers when calling this API.

AuthorizationstringRequired

Bearer Token

X-Tenant-IDstring

X-Tenant-ID

Request Inputs

application/json

Path Parameters

  • ruleId
    StringRequired

    ID of the rule to update

Body Fields

  • name
    StringRequired

    New name for the alert rule

    Example: Updated CPU Alert

  • description
    StringRequired

    New description for the rule

    Example: Updated alert description

  • operator
    StringRequired

    New comparison operator

    Example: >

  • threshold
    LongRequired

    New threshold value

    Example: 85

  • duration
    IntegerRequired

    New duration in seconds

    Example: 300

Responses

200 OK
200 OK

On success, this API returns the following response structure.

  • id
    String

    Unique identifier of the alert rule

    Example: rule-selfmon-001

  • name
    String

    Human-readable name of the alert rule

    Example: High Error Rate

  • description
    String

    Description of what this self-monitoring rule detects

    Example: Fires when API error rate exceeds threshold

  • severity
    String

    Severity level of alerts fired by this rule

    Example: warning

  • threshold
    Long

    Threshold value that triggers this rule

    Example: 0.05

  • builtin
    Boolean

    Whether this rule is a built-in system rule (not user-modifiable)

    Example: true

  • Change Time

    AddedRequest body fields key, values
    View API
  • Change Time

    AddedRequest body fields conditionType, defaultConfigSnapshot, filterRules...
    View API