> ## 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 status page status



## OpenAPI

````yaml /openapi.json patch /status-pages/{id}/status
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}/status:
    patch:
      tags:
        - Status Pages
      summary: Update status page status
      operationId: StatusPageController_updateStatus
      parameters:
        - name: id
          required: true
          in: path
          description: Status Page ID
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateStatusPageStatusDto'
      responses:
        '200':
          description: The status page status has been successfully updated.
        '400':
          description: Bad request - Invalid status provided.
        '403':
          description: Forbidden - Insufficient permissions.
        '404':
          description: Status page not found.
      security:
        - bearer: []
components:
  schemas:
    UpdateStatusPageStatusDto:
      type: object
      properties:
        status:
          type: string
          enum:
            - operational
            - degraded
            - partial_outage
            - major_outage
            - maintenance
          description: The new status of the status page
        message:
          type: string
          description: Message explaining the status change
        componentIds:
          description: Components to update with this status change
          type: array
          items:
            type: string
      required:
        - status
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````