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

# Update the change notifications

> Change where infrastructure changes are announced, on the workspace the Settings page's card edits (the enabled one, else the first configured); omitted settings keep their value. event_types REPLACES the stored list and an empty list announces nothing; the types are deploy, scale, restart, config_change, rollback. namespace_filter empty means every namespace. Delivery reads the ENABLED workspace, so routing saved on a switched-off one is stored and not sent. The Settings card has no box for rollback, so saving that card drops it. This write is last-writer-wins: the Settings page carries a stamp that refuses a save made against values another admin has since changed, and this tool has none, so read the routing again if you are acting on something you were told a while ago.



## OpenAPI

````yaml /api-reference/openapi.json put /change_notifications
openapi: 3.1.0
info:
  description: >-
    A resource-shaped endpoint onto the same tool surface the MCP server
    (/api/mcp) reaches. Every gate, refusal and audit row a caller sees here is
    the exact one the MCP endpoint answers for the same tool. Authenticated with
    an API key holding the api:admin scope, or the read-only api:config_read
    scope for GET alone.
  title: SRE Agent configuration API
  version: 1.0.0
servers:
  - url: https://sreagent.app/api/v1/config
security:
  - apiKey: []
tags:
  - name: ai_providers
  - name: ai_settings
  - name: alert_mutes
  - name: alert_routes
  - name: aws_external_id
  - name: certificate_monitors
  - name: change_notifications
  - name: compliance_periods
  - name: connectors
  - name: data_sources
  - name: deploy_policies
  - name: export
  - name: github_settings
  - name: image_targets
  - name: notification_settings
  - name: organization_settings
  - name: outbound_configs
  - name: outbound_rules
  - name: overseer_settings
  - name: prompt_templates
  - name: repo_settings
  - name: service_bindings
  - name: slack
  - name: slis
  - name: slos
  - name: status_page_components
  - name: status_page_incidents
  - name: status_page_settings
  - name: synthetic_checks
  - name: team_members
  - name: teams
  - name: ticket_import_rules
  - name: ticket_integrations
paths:
  /change_notifications:
    put:
      tags:
        - change_notifications
      summary: Update the change notifications
      description: >-
        Change where infrastructure changes are announced, on the workspace the
        Settings page's card edits (the enabled one, else the first configured);
        omitted settings keep their value. event_types REPLACES the stored list
        and an empty list announces nothing; the types are deploy, scale,
        restart, config_change, rollback. namespace_filter empty means every
        namespace. Delivery reads the ENABLED workspace, so routing saved on a
        switched-off one is stored and not sent. The Settings card has no box
        for rollback, so saving that card drops it. This write is
        last-writer-wins: the Settings page carries a stamp that refuses a save
        made against values another admin has since changed, and this tool has
        none, so read the routing again if you are acting on something you were
        told a while ago.
      operationId: update_change_notifications
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              properties:
                channel:
                  description: 'The Slack channel to announce in, for example #deployments.'
                  type: string
                enabled:
                  description: >-
                    Whether infrastructure changes are announced at all. This is
                    the announcement switch, not the workspace's: a workspace
                    that is switched off announces nothing whatever this says,
                    and configure_slack is what switches a workspace on.
                  type: boolean
                event_types:
                  description: Which changes are announced. An empty list announces none.
                  items:
                    enum:
                      - deploy
                      - scale
                      - restart
                      - config_change
                      - rollback
                    type: string
                  type: array
                namespace_filter:
                  description: Announce only changes in this namespace; empty means all.
                  type: string
              required: []
              type: object
        required: false
      responses:
        '200':
          description: Updated.
        '201':
          description: Created (an upsert resource's PUT on a missing row).
        '404':
          description: No such resource.
        '412':
          description: If-Match named a version of the row that is no longer current.
        '422':
          description: The tool refused the request's shape or content.
        default:
          description: The request failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      description: The body of every failed request.
      properties:
        error:
          type: string
          description: >-
            A short machine-readable code such as forbidden, conflict or
            read_only_key.
        message:
          type: string
          description: A sentence that says what to change.
      required:
        - error
        - message
      additionalProperties: true
  securitySchemes:
    apiKey:
      description: >-
        An sre_ak_* API key holding the api:admin scope (or api:config_read,
        which every write refuses with read_only_key).
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.