Update a quota alert

Update the threshold for an alert

PUT
/quota-alerts/{alertId}
AuthorizationBearer <token>

Project API key

In: header

Path Parameters

alertId*string

Request Body

application/json

threshold?integer

Threshold percentage (1-100) at which to trigger the alert

Range1 <= value <= 100

Response Body

application/json

application/json

application/json

curl -X PUT "https://api.limitry.com/v1/quota-alerts/string" \  -H "Content-Type: application/json" \  -d '{}'
{
  "id": "qa_abc123",
  "quotaId": "qta_xyz789",
  "threshold": 90,
  "lastTriggeredAt": "2024-01-15T12:00:00Z",
  "createdAt": "2024-01-15T10:30:00Z",
  "updatedAt": "2024-01-16T14:22:00Z"
}
{
  "error": "Invalid or missing API key"
}
{
  "error": "Resource not found"
}