Skip to main content
POST
Create a certificate monitor

Authorizations

Authorization
string
header
required

An sre_ak_* API key holding the api:admin scope (or api:config_read, which every write refuses with read_only_key).

Body

application/json
hostname
string
required

The host to connect to, 1 to 253 characters. A wildcard certificate has no host to dial, so name a concrete one.

check_interval_hours
integer

How often to check, at least 1. Default 24.

critical_days_before
integer

Days of validity left that raise the sharper one. Default 7, and it must be below warn_days_before.

port
integer

1 to 65535. Default 443.

warn_days_before
integer

Days of validity left that raise the first alert. Default 30.

Response

Created.