Website configuration
Delete Maintenance Window
Deletes a maintenance window.
DELETE /api/maintenance-windows/:id
Authentication
Requires a valid session.
- Header:
Authorization: Bearer <token>
Note: Global supporter users are not allowed to delete maintenance windows (403). Read-only users are allowed.
Parameters
id(Path, required): Maintenance window ID.
Example (cURL)
BASE_URL="https://uptimeify.io"
TOKEN="<your-api-token>"
curl -X DELETE \
"$BASE_URL/api/maintenance-windows/5" \
-H "Authorization: Bearer $TOKEN"Example Response
{ "success": true }Common Errors
400 Invalid maintenance window IDif:idis invalid401 Unauthorizedif you are not authenticated403 Forbiddenif you do not have access404 Maintenance window not foundif the maintenance window does not exist