---
title: "PUT /api/statuspages/{key}"
method: PUT
path: "/api/statuspages/{key}"
tags: ["statuspages"]
---

# PUT /api/statuspages/{key}

`PUT /api/statuspages/{key}`

## Request

- Base URL: `https://cronitor.io`
- URL: `https://cronitor.io/api/statuspages/{key}`
- Auth: HTTP basic

## Path parameters

- `key` string, required

## Headers

- `Cronitor-Version` '2025-11-28' | '2020-10-01'

## Request body

- StatusPageRequest
  - `name` string, required
  - `logo_url` string, uri, nullable
  - `website_url` string, uri, nullable
  - `support_url` string, uri, nullable
  - `allow_search_index` boolean
  - `enable_performance_metrics` boolean
  - `default_time_period` '24h' | '7d' | '30d' | '90d': * `24h` - 24h * `7d` - 7d * `30d` - 30d * `90d` - 90d
  - `enable_dark_mode` boolean
  - `hosted_subdomain` string, required
  - `custom_domain` string, nullable
  - `access` 'public' | 'password': * `public` - public * `password` - password
  - `password` string, nullable
  - `ip_allowlist` string, nullable
  - `environment` string, nullable: Environment key.

## Response `200`

- StatusPage
  - `key` string, required
  - `name` string, required
  - `logo_url` string, uri, nullable
  - `website_url` string, uri, nullable
  - `support_url` string, uri, nullable
  - `allow_search_index` boolean
  - `enable_performance_metrics` boolean
  - `default_time_period` '24h' | '7d' | '30d' | '90d': * `24h` - 24h * `7d` - 7d * `30d` - 30d * `90d` - 90d
  - `enable_dark_mode` boolean
  - `hosted_subdomain` string, required
  - `custom_domain` string, nullable
  - `access` 'public' | 'password': * `public` - public * `password` - password
  - `auth_secret` string, required
  - `ip_allowlist` string, nullable
  - `components` string, required
  - `components_count` string, required
  - `status` string, required
  - `environment` string, nullable: Environment key.
  - `metadata` string, required
  - `badge_url_light` string, required
  - `badge_url_dark` string, required
  - `created` string, date-time, required
  - `updated` string, date-time, required

---

[API](https://skmtc.dev/cronitor/apis/cronitor-api.md) - [All operations](https://skmtc.dev/cronitor/apis/cronitor-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cronitor/apis/cronitor-api/revisions/62fb38ef4462?raw)
