Avisi cloud logo
Observability

Replace AlertManager configuration of an environment.

Request Body

application/jsonRequired
alertManagerConfigstring
ruleFilesobject
templateFilesobject

Path Parameters

organisationSlugRequiredstring
Pattern: "^[a-z0-9-]+$"
environmentSlugRequiredstring
Pattern: "^[a-z0-9-]+$"
curl -X POST "https://api.avisi.cloud/api/v1/orgs/<string>/environments/<string>/prometheus/alertmanager" \
  -H "Content-Type: application/json" \
  -d '{
    "alertManagerConfig": "string",
    "ruleFiles": {
      "property1": "string",
      "property2": "string"
    },
    "templateFiles": {
      "property1": "string",
      "property2": "string"
    }
  }'

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

{
  "message": "string"
}