---
title: "Create Historic Maintenance"
method: POST
path: "/maintenance/history/create"
tags: ["Maintenance"]
---

# Create Historic Maintenance

`POST /maintenance/history/create`

Create a historic maintenance.

## Headers

- `x-api-id` string, required
- `x-api-key` string, required

## Request body

- object
  - `statuspage_id` string, required — ID of the status page
  - `all_infrastructure_affected` string, required — Apply to all components and containers. Set to `1` to affect all infrastructure, `0` to use specific infrastructure_affected list (default: `0`).
  - `infrastructure_affected` string[], required
  - `maintenance_name` string, required — Descriptive title for the maintenance event
  - `maintenance_details_schedule` string, required — Message describing the scheduling of this maintenance
  - `maintenance_details_start` string, required — Message describing the start of this maintenance
  - `maintenance_details_end` string, required — Message describing the end of this maintenance
  - `maintenance_start_date` string, required — Maintenance start date in MM/dd/yyyy format
  - `maintenance_start_time` string, required — Maintenance start time in HH:mm format (24-hour)
  - `maintenance_end_date` string, required — Maintenance end date in MM/dd/yyyy format
  - `maintenance_end_time` string, required — Maintenance end time in HH:mm format (24-hour)

## Response `200`

OK

- object
  - `result` string
  - `status` object
    - `error` string
    - `message` string

---

[API](https://skmtc.net/status/apis/status-io-api-v2.md) · [All operations](https://skmtc.net/status/apis/status-io-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/status/status-io-api-v2/revisions/6054bf6d1a84/schema)
