Update uptime settings
https://{kibana_url}
- PUT /api/uptime/settings
- PUT /s/{space_id}/api/uptime/settings
Refer to Spaces for more information.
Update uptime setting attributes like heartbeatIndices, certExpirationThreshold, certAgeThreshold, defaultConnectors, or defaultEmail. You must have all privileges for the uptime feature in the Observability section of the Kibana feature privileges. A partial update is supported, provided settings keys will be merged with existing settings.
Request
-
certAgeThresholdnumber · default: 730 -
The number of days after a certificate is created to trigger an alert.
-
certExpirationThresholdnumber · default: 30 -
The number of days before a certificate expires to trigger an alert.
-
defaultConnectorsstring · default: [] -
A list of connector IDs to be used as default connectors for new alerts.
-
defaultEmailobject -
The default email configuration for new alerts.
-
heartbeatIndicesstring · default: heartbeat-* -
An index pattern string to be used within the Uptime app and alerts to query Heartbeat data.
Response
Indicates a successful call
Response Type: object