> ## 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 Subscriber



## OpenAPI

````yaml /api-reference/openapi.json put /subscribers/{subscriber}
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:8001/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
  - name: Subscribers
paths:
  /subscribers/{subscriber}:
    put:
      tags:
        - Subscribers
      summary: Update Subscriber
      operationId: cachet.api.subscribers.update
      parameters:
        - name: subscriber
          in: path
          required: true
          description: The subscriber ID
          schema:
            type: integer
      requestBody:
        description: '`UpdateSubscriberRequestData`'
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateSubscriberRequestData'
      responses:
        '200':
          description: '`Subscriber`'
          content:
            application/vnd.api+json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/Subscriber'
                  included:
                    type: array
                    items:
                      $ref: '#/components/schemas/Component'
                required:
                  - data
        '401':
          $ref: '#/components/responses/AuthenticationException'
        '403':
          $ref: '#/components/responses/MissingAbilityException'
        '404':
          $ref: '#/components/responses/ModelNotFoundException'
        '422':
          $ref: '#/components/responses/ValidationException'
components:
  schemas:
    UpdateSubscriberRequestData:
      type: object
      properties:
        email:
          type:
            - string
            - 'null'
          format: email
          maxLength: 255
        global:
          type:
            - boolean
            - 'null'
        components:
          type:
            - array
            - 'null'
          items:
            type: integer
            minimum: 0
      title: UpdateSubscriberRequestData
    Subscriber:
      type: object
      properties:
        id:
          type: string
        type:
          type: string
          enum:
            - subscribers
        attributes:
          type: object
          properties:
            id:
              type: integer
            email:
              type:
                - string
                - 'null'
            global:
              type: boolean
            verified:
              type: boolean
            verified_at:
              type: object
              properties:
                human:
                  type:
                    - string
                    - 'null'
                string:
                  type:
                    - string
                    - 'null'
              required:
                - human
                - string
            created:
              type: object
              properties:
                human:
                  type:
                    - string
                    - 'null'
                string:
                  type:
                    - string
                    - 'null'
              required:
                - human
                - string
            updated:
              type: object
              properties:
                human:
                  type:
                    - string
                    - 'null'
                string:
                  type:
                    - string
                    - 'null'
              required:
                - human
                - string
          required:
            - id
            - email
            - global
            - verified
            - verified_at
            - created
            - updated
        relationships:
          type: object
          properties:
            components:
              type: object
              properties:
                data:
                  type: array
                  items:
                    $ref: '#/components/schemas/ComponentIdentifier'
              required:
                - data
      required:
        - id
        - type
      title: Subscriber
    Component:
      type: object
      properties:
        id:
          type: string
        type:
          type: string
          enum:
            - components
        attributes:
          type: object
          properties:
            id:
              type: integer
            name:
              type: string
            description:
              type:
                - string
                - 'null'
            link:
              type:
                - string
                - 'null'
            order:
              type:
                - integer
                - 'null'
            status:
              type: object
              properties:
                human:
                  type:
                    - string
                    - 'null'
                  enum:
                    - Operational
                    - Performance issues
                    - Partial outage
                    - Major outage
                    - Under maintenance
                    - Unknown
                    - null
                value:
                  type:
                    - integer
                    - 'null'
              required:
                - human
                - value
            enabled:
              type: boolean
            meta:
              type:
                - array
                - 'null'
              items: {}
            created:
              type: object
              properties:
                human:
                  type:
                    - string
                    - 'null'
                string:
                  type:
                    - string
                    - 'null'
              required:
                - human
                - string
            updated:
              type: object
              properties:
                human:
                  type:
                    - string
                    - 'null'
                string:
                  type:
                    - string
                    - 'null'
              required:
                - human
                - string
            pivot:
              type: object
              properties:
                component_status:
                  type: object
                  properties:
                    human:
                      type:
                        - string
                        - 'null'
                    value:
                      type:
                        - string
                        - 'null'
                  required:
                    - human
                    - value
              required:
                - component_status
          required:
            - id
            - name
            - description
            - link
            - order
            - status
            - enabled
            - meta
            - created
            - updated
        relationships:
          type: object
          properties:
            group:
              type: object
              properties:
                data:
                  anyOf:
                    - $ref: '#/components/schemas/ComponentGroupIdentifier'
                    - type: 'null'
              required:
                - data
            incidents:
              type: object
              properties:
                data:
                  type: array
                  items:
                    $ref: '#/components/schemas/IncidentIdentifier'
              required:
                - data
      required:
        - id
        - type
      title: Component
    ComponentIdentifier:
      type: object
      properties:
        type:
          type: string
          enum:
            - components
        id:
          type: string
      required:
        - type
        - id
      title: ComponentIdentifier
    ComponentGroupIdentifier:
      type: object
      properties:
        type:
          type: string
          enum:
            - componentGroups
        id:
          type: string
      required:
        - type
        - id
      title: ComponentGroupIdentifier
    IncidentIdentifier:
      type: object
      properties:
        type:
          type: string
          enum:
            - incidents
        id:
          type: string
      required:
        - type
        - id
      title: IncidentIdentifier
  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

````