Avisi cloud logo
Observability

Create or update silence for observability tenant.

POST
/api/v1/orgs/{organisationSlug}/observability/{tenantSlug}/silences

Request Body

application/jsonRequired

idstring

matchersarray<object>

startsAtstring

endsAtstring

createdBystring

commentstring

statusobject

Path Parameters

organisationSlug
Required
string

tenantSlug
Required
string

curl -X POST "http://localhost:8090/api/v1/orgs/string/observability/string/silences" \
  -H "Content-Type: application/json" \
  -d '{
    "id": "string",
    "matchers": [
      {
        "name": "string",
        "value": "string",
        "isRegex": true,
        "isEqual": true
      }
    ],
    "startsAt": "string",
    "endsAt": "string",
    "createdBy": "string",
    "comment": "string",
    "status": {
      "state": "string"
    }
  }'

Request was successfully processed. The response body contains the requested data.

{
  "id": "string",
  "matchers": [
    {
      "name": "string",
      "value": "string",
      "isRegex": true,
      "isEqual": true
    }
  ],
  "startsAt": "string",
  "endsAt": "string",
  "createdBy": "string",
  "comment": "string",
  "status": {
    "state": "string"
  }
}