Atlas
Platform Admin — SLA

Update alert thresholds

SaaS only. Configure the default SLA alert thresholds.

PUT
/api/v1/platform/sla/thresholds

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X PUT "http://localhost:3001/api/v1/platform/sla/thresholds" \  -H "Content-Type: application/json" \  -d '{    "latencyP99Ms": 5000,    "errorRatePct": 5  }'
{
  "message": "string",
  "thresholds": {
    "latencyP99Ms": 5000,
    "errorRatePct": 5
  }
}
{
  "property1": null,
  "property2": null
}
{
  "property1": null,
  "property2": null
}
{
  "error": "string",
  "message": "string",
  "requestId": "string"
}
{
  "error": "string",
  "message": "string",
  "requestId": "string"
}