Skip to main content

Amend an alert by UID

PUT 

/v1/grafana/api/v1/provisioning/alert-rules/:UID

Amend an alert by UID.

Request

Path Parameters

    UID stringrequired

Body

    annotations object
    runbook_url string
    condition string
    data object[]
  • Array [
  • datasourceUid string
    model object
    conditions object[]
  • Array [
  • evaluator object
    params int32[]
    type string
    operator object
    type string
    query object
    params undefined[]
    reducer object
    params undefined[]
    type string
    type string
  • ]
  • datasource object
    type string
    uid string
    expression string
    hide boolean
    intervalMs int32
    maxDataPoints int32
    refId string
    type string
    queryType string
    refId string
    relativeTimeRange object
    from int32
    to int32
  • ]
  • execErrState string
    folderUID string

    The unique identifier (uid) of a folder to search in for dashboards. You cannot use General folder or the folder generated by logz.io - Logz.io Dashboards - to place your alerts.

    for int32
    id int32
    labels object
    team string
    noDataState string
    orgID int32
    provenance string
    ruleGroup string
    title string
    uid string

Responses

successful query

Schema
    annotations object
    runbook_url string
    condition string
    data object[]
  • Array [
  • datasourceUid string
    model object
    conditions object[]
  • Array [
  • evaluator object
    params int32[]
    type string
    operator object
    type string
    query object
    params undefined[]
    reducer object
    params undefined[]
    type string
    type string
  • ]
  • datasource object
    type string
    uid string
    expression string
    hide boolean
    intervalMs int32
    maxDataPoints int32
    refId string
    type string
    queryType string
    refId string
    relativeTimeRange object
    from int32
    to int32
  • ]
  • execErrState string
    folderUID string

    The unique identifier (uid) of a folder to search in for dashboards. You cannot use General folder or the folder generated by logz.io - Logz.io Dashboards - to place your alerts.

    for int32
    id int32
    labels object
    team string
    noDataState string
    orgID int32
    provenance string
    ruleGroup string
    title string
    uid string
    updated string
Loading...