---
title: "Remove an incident or maintenance notice"
method: DELETE
path: "/status-pages/{pageId}/notices/{noticeId}"
tags: ["Status pages"]
---

# Remove an incident or maintenance notice

`DELETE /status-pages/{pageId}/notices/{noticeId}`

## Request

- Base URL: `https://hostingsurge.com/api/v1`
- URL: `https://hostingsurge.com/api/v1/status-pages/{pageId}/notices/{noticeId}`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `__Host-hs_session`

## Path parameters

- `pageId` string, uuid, required
- `noticeId` string, uuid, required

## Response `200`

Removed

- object
  - `items` object[], required
    - `id` string, uuid, required
    - `kind` 'incident' | 'maintenance', required
    - `title` string, required
    - `impact` 'minor' | 'major' | 'critical' | 'maintenance', required: maintenance notices always have impact maintenance
    - `status` 'investigating' | 'identified' | 'monitoring' | 'resolved' | 'scheduled' | 'in_progress' | 'completed', required
    - `components` string[], required: platform page: the components it concerns (empty: the whole platform); customer pages: always empty
    - `startsAt` string, required: incident: when it began; maintenance: the start of the planned window
    - `endsAt` string, nullable, required: maintenance: the end of the planned window
    - `resolvedAt` string, nullable, required: ISO-8601 timestamp
    - `createdAt` string, required: ISO-8601 timestamp
    - `updatedAt` string, required: ISO-8601 timestamp
    - `updates` object[], required: newest first (at most 20)
      - `id` string, uuid, required
      - `status` 'investigating' | 'identified' | 'monitoring' | 'resolved' | 'scheduled' | 'in_progress' | 'completed', required
      - `body` string, required
      - `createdAt` string, required: ISO-8601 timestamp

## Other responses

- `400`: Invalid request (code invalid_request)
- `401`: Missing or invalid session/token (code unauthorized)
- `403`: Authenticated but not permitted (code forbidden)
- `404`: Not found or not visible to the caller (code not_found)
- `409`: Conflict (code conflict), e.g. the status page address is taken
- `413`: The request body is too large
- `429`: Too many requests (code rate_limited); see Retry-After or details.limit
- `501`: Not available on this server yet (code not_configured): migration 194 is not applied

---

[API](https://skmtc.dev/hostingsurge/apis/hostingsurge-platform-api.md) · [All operations](https://skmtc.dev/hostingsurge/apis/hostingsurge-platform-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hostingsurge/apis/hostingsurge-platform-api/revisions/4d08337cdff1?raw)
