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

# Update Incident Update



## OpenAPI

````yaml api-reference/openapi.json put /incidents/{incident}/updates/{update}
openapi: 3.1.0
info:
  title: Cachet
  version: 0.0.1
  description: >-
    API documentation for Cachet, the open-source, self-hosted status page
    system.
servers:
  - url: http://localhost/api
  - url: https://v3.cachethq.io/api
    description: The Cachet v3 demo server.
security:
  - http: []
tags:
  - name: Cachet
  - name: Components
  - name: Component Groups
  - name: Incidents
  - name: Incident Updates
  - name: Incident Templates
  - name: Metrics
  - name: Metric Points
  - name: Schedules
  - name: Schedule Updates
paths:
  /incidents/{incident}/updates/{update}:
    put:
      tags:
        - Incident Updates
      summary: Update Incident Update
      operationId: cachet.api.incidents.updates.update
      parameters:
        - name: incident
          in: path
          required: true
          description: The incident ID
          schema:
            type: integer
        - name: update
          in: path
          required: true
          description: The update ID
          schema:
            type: integer
      requestBody:
        description: '`EditIncidentUpdateRequestData`'
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EditIncidentUpdateRequestData'
      responses:
        '200':
          description: '`Update`'
          content:
            application/vnd.api+json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/Update'
                required:
                  - data
        '401':
          $ref: '#/components/responses/AuthenticationException'
        '403':
          $ref: '#/components/responses/MissingAbilityException'
        '404':
          $ref: '#/components/responses/ModelNotFoundException'
        '422':
          $ref: '#/components/responses/ValidationException'
components:
  schemas:
    EditIncidentUpdateRequestData:
      type: object
      properties:
        status:
          anyOf:
            - $ref: '#/components/schemas/IncidentStatusEnum'
            - type: 'null'
        message:
          type:
            - string
            - 'null'
      title: EditIncidentUpdateRequestData
    Update:
      type: object
      properties:
        id:
          type: string
        type:
          type: string
          enum:
            - updates
        attributes:
          type: object
          properties:
            id:
              type: integer
            updateable_id:
              type: integer
            updateable_type:
              type: string
            message:
              type: string
            status:
              type: object
              properties:
                human:
                  type: string
                value:
                  type: string
              required:
                - human
                - value
            created:
              type: object
              properties:
                human:
                  type: string
                string:
                  type: string
              required:
                - human
                - string
            updated:
              type: object
              properties:
                human:
                  type: string
                string:
                  type: string
              required:
                - human
                - string
          required:
            - id
            - updateable_id
            - updateable_type
            - message
            - created
            - updated
      required:
        - id
        - type
      title: Update
    IncidentStatusEnum:
      type: integer
      enum:
        - 0
        - 1
        - 2
        - 3
        - 4
      title: IncidentStatusEnum
  responses:
    AuthenticationException:
      description: Unauthenticated
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                description: Error overview.
            required:
              - message
    MissingAbilityException:
      description: Authorization error
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                description: Error overview.
            required:
              - message
    ModelNotFoundException:
      description: Not found
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                description: Error overview.
            required:
              - message
    ValidationException:
      description: Validation error
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                description: Errors overview.
              errors:
                type: object
                description: A detailed description of each field that failed validation.
                additionalProperties:
                  type: array
                  items:
                    type: string
            required:
              - message
              - errors
  securitySchemes:
    http:
      type: http
      scheme: bearer

````