Request
Path Parameters
uuidstringrequired
The unique identifier of the maintenance window to complete
Example:"mw_ot0dguXcrUnB2b"
Response
Returns a success message and the updated end date.
Immediately ends an in-progress maintenance window by setting its end date to now and deactivating it. The maintenance record is preserved with the updated end date.
Use this endpoint to cleanly end a maintenance window once your work is done, rather than waiting for it to expire. This is ideal for deployment scripts and automation. Cannot be used on maintenance windows that have not started yet.
Returns a success message and the updated end date.
curl -X POST https://api.hyperping.io/v1/maintenance-windows/mw_ot0dguXcrUnB2b/complete \
-H "Authorization: Bearer ${API_TOKEN}"{
"message": "Ok",
"end_date": "2025-05-18T15:10:00.000Z"
}