> ## Documentation Index
> Fetch the complete documentation index at: https://docs.justanotheruptime.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update a status page



## OpenAPI

````yaml /openapi.json patch /status-pages/{id}
openapi: 3.0.0
info:
  title: Uptime Monitor API
  description: >-
    API documentation for the Uptime Monitor application. This API allows users
    to create and manage website monitors, perform checks, and view statistics.
  version: '1.0'
  contact: {}
servers:
  - url: https://api.justanotheruptime.com
security: []
tags:
  - name: auth
    description: Authentication endpoints
  - name: projects
    description: Project management endpoints
  - name: monitors
    description: Monitor management endpoints
  - name: checks
    description: Check-related endpoints
  - name: statistics
    description: Monitor statistics endpoints
paths:
  /status-pages/{id}:
    patch:
      tags:
        - Status Pages
      summary: Update a status page
      operationId: StatusPageController_update
      parameters:
        - name: id
          required: true
          in: path
          description: Status Page ID
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateStatusPageDto'
      responses:
        '200':
          description: The status page has been successfully updated.
        '400':
          description: Bad request - Invalid data provided.
        '403':
          description: Forbidden - Insufficient permissions.
        '404':
          description: Status page not found.
      security:
        - bearer: []
components:
  schemas:
    UpdateStatusPageDto:
      type: object
      properties:
        name:
          type: string
          description: The name of the status page
        slug:
          type: string
          description: The slug for the status page URL
        description:
          type: string
          description: The description of the status page
        isPublic:
          type: boolean
          description: Whether the status page is public
        theme:
          type: string
          description: The theme of the status page
        customDomain:
          type: string
          description: The custom domain for the status page
        customCss:
          type: string
          description: Custom CSS for the status page
        customJs:
          type: string
          description: Custom JavaScript for the status page
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````