Save default escalation days

posthttps://api.expiryedge.com/v1/saveEscalationSettings
editor or admin60/minJede Methode
Anfrage
curl -X POST 'https://api.expiryedge.com/v1/saveEscalationSettings' \
  -H "Authorization: Bearer $EXPIRYEDGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "default_escalation_notification_days": [
    14,
    7,
    1
  ]
}'
Antwort
{
  "message": "Escalation settings saved successfully",
  "default_escalation_notification_days": [
    14,
    7,
    1
  ]
}

Values are coerced to integers 0-365, de-duplicated and sorted descending; at least one valid value is required.

Body-Parameter

application/json
  • default_escalation_notification_daysarray of integererforderlich
    Days before expiry (0-365), sorted descending.
    min: 0 · max: 365 · min items: 1

Rückgabe

200
Saved.
  • default_escalation_notification_daysarray of integererforderlich
    Days before expiry (0-365), sorted descending.
    min: 0 · max: 365 · min items: 1
  • messagestringerforderlich

Fehler

400
The request is missing required fields or contains invalid values.
401
Missing, expired or invalid bearer token.
403
Authenticated, but your role or organization does not allow this action.
429
Too many requests for this endpoint from your IP. Wait Retry-After seconds.