DropRule

POST /api/v1/config/drop-rules

Request

Request body

dry_runboolean

If true, the DropRule isn't created, and no response DropRule will be returned. The response will return an error if the given DropRule is invalid.

Example request

{
  "drop_rule": {
    "filters": [
      {
        "name": "job",
        "value_glob": "myservice*"
      }
    ]
  }
}

Response

A successful response containing the created DropRule.

Example response

{
  "drop_rule": {
    "filters": [
      {
        "name": "job",
        "value_glob": "myservice*"
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.