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

# Update a notification



## OpenAPI

````yaml https://api.arklow.io/swagger/ui/json patch /v1/orgs/{org_id}/notifications/{id}
openapi: 3.1.0
info:
  title: Arklow
  description: Arklow's API
  version: 0.1.0
servers:
  - url: https://api.arklow.io
    description: Production
  - url: http://localhost:3123
    description: Local development
security:
  - apiKey: []
tags:
  - name: actions
  - name: api_keys
  - name: billing
  - name: config
  - name: credentials
  - name: destinations
  - name: invites
  - name: members
  - name: metrics
  - name: notifications
  - name: orgs
  - name: rules
  - name: sources
  - name: users
  - name: ingress
externalDocs:
  url: https://api.arklow.io/swagger/ui
paths:
  /v1/orgs/{org_id}/notifications/{id}:
    patch:
      tags:
        - notifications
      summary: Update a notification
      operationId: patch_v1_orgs_by_org_id_notifications_by_id
      parameters:
        - schema:
            type: string
            pattern: ^[0-9]+$
          in: path
          name: org_id
          required: true
        - schema:
            type: string
            pattern: ^[0-9]+$
          in: path
          name: id
          required: true
      requestBody:
        content:
          application/json:
            schema:
              allOf:
                - anyOf:
                    - type: object
                      properties:
                        variant:
                          type: string
                          enum:
                            - general
                        body:
                          type: object
                          properties:
                            content_type:
                              anyOf:
                                - type: string
                                  enum:
                                    - markdown
                                - type: string
                                  enum:
                                    - text
                            content:
                              type: string
                    - type: object
                      properties:
                        variant:
                          type: string
                          enum:
                            - alert
                        body:
                          type: object
                          properties:
                            level:
                              type: integer
                            alert_type:
                              anyOf:
                                - type: string
                                  enum:
                                    - backlog_growth
                                - type: string
                                  enum:
                                    - out_of_range
                                - type: string
                                  enum:
                                    - action_failures
                                - type: string
                                  enum:
                                    - configuration_error
                                - type: string
                                  enum:
                                    - destination_unreachable
                                - type: string
                                  enum:
                                    - source_unreachable
                            resource_type:
                              type: string
                            resource_id:
                              type: string
                            display_text:
                              type: string
                            metadata: {}
                    - type: object
                      properties:
                        variant:
                          type: string
                          enum:
                            - graph
                        body:
                          type: object
                          properties:
                            chart_type:
                              type: string
                            data: {}
                    - type: object
                      properties:
                        variant:
                          type: string
                          enum:
                            - cost
                        body:
                          type: object
                          properties:
                            resource_id:
                              type: string
                            resource_type:
                              type: string
                            delta:
                              type: integer
                            magnitude:
                              anyOf:
                                - type: number
                                  enum:
                                    - -1
                                - type: number
                                  enum:
                                    - 0
                                - type: number
                                  enum:
                                    - 1
                            display_text:
                              type: string
                - type: object
                  properties:
                    type:
                      anyOf:
                        - type: string
                          enum:
                            - internal
                        - type: string
                          enum:
                            - external
                    acknowledged:
                      type: boolean
                    deleted_at:
                      anyOf:
                        - type: 'null'
                        - type: string
                          format: date-time
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                required:
                  - data
                  - errors
                properties:
                  data:
                    anyOf:
                      - allOf:
                          - type: object
                            required:
                              - id
                              - type
                              - org_id
                              - acknowledged
                              - updated_at
                            properties:
                              id:
                                type: string
                                pattern: ^[0-9]+$
                              type:
                                anyOf:
                                  - type: string
                                    enum:
                                      - internal
                                  - type: string
                                    enum:
                                      - external
                              org_id:
                                type: string
                              acknowledged:
                                type: boolean
                              updated_at:
                                type: string
                                format: date-time
                              deleted_at:
                                anyOf:
                                  - type: 'null'
                                  - type: string
                                    format: date-time
                          - anyOf:
                              - type: object
                                required:
                                  - variant
                                  - body
                                properties:
                                  variant:
                                    type: string
                                    enum:
                                      - general
                                  body:
                                    type: object
                                    required:
                                      - content_type
                                      - content
                                    properties:
                                      content_type:
                                        anyOf:
                                          - type: string
                                            enum:
                                              - markdown
                                          - type: string
                                            enum:
                                              - text
                                      content:
                                        type: string
                                    additionalProperties: false
                              - type: object
                                required:
                                  - variant
                                  - body
                                properties:
                                  variant:
                                    type: string
                                    enum:
                                      - alert
                                  body:
                                    type: object
                                    required:
                                      - level
                                      - alert_type
                                      - resource_type
                                      - resource_id
                                      - display_text
                                      - metadata
                                    properties:
                                      level:
                                        type: integer
                                      alert_type:
                                        anyOf:
                                          - type: string
                                            enum:
                                              - backlog_growth
                                          - type: string
                                            enum:
                                              - out_of_range
                                          - type: string
                                            enum:
                                              - action_failures
                                          - type: string
                                            enum:
                                              - configuration_error
                                          - type: string
                                            enum:
                                              - destination_unreachable
                                          - type: string
                                            enum:
                                              - source_unreachable
                                      resource_type:
                                        type: string
                                      resource_id:
                                        type: string
                                      display_text:
                                        type: string
                                      metadata: {}
                                    additionalProperties: false
                              - type: object
                                required:
                                  - variant
                                  - body
                                properties:
                                  variant:
                                    type: string
                                    enum:
                                      - graph
                                  body:
                                    type: object
                                    required:
                                      - chart_type
                                      - data
                                    properties:
                                      chart_type:
                                        type: string
                                      data: {}
                                    additionalProperties: false
                              - type: object
                                required:
                                  - variant
                                  - body
                                properties:
                                  variant:
                                    type: string
                                    enum:
                                      - cost
                                  body:
                                    type: object
                                    required:
                                      - resource_id
                                      - resource_type
                                      - delta
                                      - magnitude
                                      - display_text
                                    properties:
                                      resource_id:
                                        type: string
                                      resource_type:
                                        type: string
                                      delta:
                                        type: integer
                                      magnitude:
                                        anyOf:
                                          - type: number
                                            enum:
                                              - -1
                                          - type: number
                                            enum:
                                              - 0
                                          - type: number
                                            enum:
                                              - 1
                                      display_text:
                                        type: string
                                    additionalProperties: false
                      - type: 'null'
                  errors:
                    anyOf:
                      - type: array
                        items:
                          type: object
                          required:
                            - code
                            - message
                          properties:
                            code:
                              type: string
                            message:
                              type: string
                      - type: 'null'
components:
  securitySchemes:
    apiKey:
      type: apiKey
      name: x-arklow-auth
      in: header

````