Update an uptime global configuration
Updates one Uptime Monitor global configuration. Send only the fields you want to change.
- It changes the shared settings of every website that uses the configuration. Changing
intervalreschedules every enabled website that uses it; the other fields apply from the next check. - A single website’s own settings (keyword, path, redirects) are not edited here: see “Update a website’s uptime settings”.
default: truemakes it the configuration new websites receive and takes the mark off the previous one;default: falseclears it.- It does not change which websites use the configuration: use “Assign websites to an uptime global configuration”.
Body
All fields are optional and take the same values as in “Create an uptime global configuration”.
name(string, optional): the configuration’s name.region(string, optional): where the checks run from.interval(integer, optional): seconds between checks.timeout(integer, optional): milliseconds a check waits for the answer.method(GETorHEAD, optional): HTTP method of the check.status_codes(array of strings, optional): HTTP status codes that count as working.default(boolean, optional): whether new websites receive it.
Authentication
AuthorizationBearer
Personal access token created in the Modular DS dashboard; read-only tokens can only call GET endpoints.
Path parameters
preset_uptime
Request
This endpoint expects an object.
timeout
Response
200 - Uptime configuration updated
data
jsonapi
