Delete Status Page

DELETE /api/status-pages/:id

Delete Status Page

DELETE /api/status-pages/:id

Permanently deletes a status page. Requires admin role.

Example (cURL)

curl -X DELETE "$BASE_URL/api/status-pages/1" \
  -H "Authorization: Bearer $TOKEN"

Response

{ "deleted": true, "id": 1 }

Common errors

  • 401 Unauthorized when not authenticated
  • 403 Forbidden when not an admin
  • 404 Not found when the status page does not exist