Avisi cloud logo
Observability

Copy default prometheus rules to an environment.

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

Path Parameters

organisationSlugRequiredstring
Pattern: "^[a-z0-9-]+$"
environmentSlugRequiredstring
Pattern: "^[a-z0-9-]+$"

Response Body

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

TypeScript Definitions

Use the response body type in TypeScript.

messagestring
curl -X POST "https://api.avisi.cloud/api/v1/orgs/string/environments/string/prometheus/alertmanager/default-rules"
{
  "message": "string"
}