Avisi cloud logo
Observability

Copy default prometheus rules to an environment.

POST
/api/v1/orgs/{organisationSlug}/environments/{environmentSlug}/prometheus/alertmanager/default-rules

Path Parameters

organisationSlug
Required
string

environmentSlug
Required
string

curl -X POST "http://localhost:8090/api/v1/orgs/string/environments/string/prometheus/alertmanager/default-rules"

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

{
  "message": "string"
}