Skip to content

PATCH /settings/iam-alive

PATCH /api/v1/settings/iam-alive

Updates one or more I’m alive settings fields. If interval_hours or channels is sent without enabled, the API enables the feature automatically.

FieldTypeRequiredDescription
enabledbooleanNoEnable or disable I’m alive reporting
interval_hoursintegerNoValue from 1 to 24
channelsarrayNoOne or more of mail, log, webhook
Terminal window
curl -X PATCH http://localhost/api/v1/settings/iam-alive \
-H "Content-Type: application/json" \
-H "X-Uplinkr-Api-Key: replace-me-with-a-long-random-key" \
-d '{
"enabled": true,
"interval_hours": 6,
"channels": ["mail", "webhook"]
}'
{
"data": {
"enabled": true,
"interval_hours": 6,
"channels": ["mail", "webhook"]
}
}
  • 200 Settings updated
  • 401 Missing or invalid API key
  • 422 Validation failed or no fields were provided