Skip to main content
POST
/
api
/
v1
/
config
/
muting-rules
{
  "muting_rule": {
    "name": "<string>",
    "comment": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "ends_at": "2023-11-07T05:31:56Z",
    "label_matchers": [
      {
        "name": "<string>",
        "type": "EXACT",
        "value": "<string>"
      }
    ],
    "slug": "<string>",
    "starts_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

API-Token
string
header
required

Chronosphere API token

Body

application/json
dry_run
boolean

If true, validates the specified configuration without creating the MutingRule. If the specified configuration is valid, the endpoint returns a partial response without the MutingRule. If the specified configuration is invalid, the endpoint returns an error.

muting_rule
object

The MutingRule to create.

Response

A successful response containing the created MutingRule.

muting_rule
object