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

# Delete a notification channel



## OpenAPI

````yaml /openapi.json delete /notification-channels/{channel_id}
openapi: 3.1.0
info:
  title: Hebeat API
  version: '2026-11-21'
  description: >-
    Workspace-scoped REST API authenticated with API keys (`Authorization:
    Bearer hb_…`). Each operation requires the scope shown in its security
    requirement; a group's write scope includes its read scope.
servers:
  - url: https://api.hebeat.com
security: []
paths:
  /notification-channels/{channel_id}:
    delete:
      tags:
        - Notification channels
      summary: Delete a notification channel
      operationId: deleteNotificationChannelsChannel_id
      parameters:
        - name: Hebeat-Version
          in: header
          required: false
          description: >-
            API version (`YYYY-MM-DD`). Defaults to the version pinned on the
            key at creation; every response echoes the version that served it.
          schema:
            type: string
            enum:
              - '2026-11-21'
        - in: path
          name: channel_id
          schema:
            type: string
            format: uuid
          required: true
      responses:
        '204':
          description: Done.
          headers:
            X-RateLimit-Limit:
              description: Requests this key may make per minute (its plan's budget).
              schema:
                type: integer
                minimum: 0
            X-RateLimit-Remaining:
              description: Requests left for this key in the current minute.
              schema:
                type: integer
                minimum: 0
        '400':
          description: >-
            Malformed JSON or an unsupported `Hebeat-Version` (`invalid_json`,
            `invalid_version`).
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      issues:
                        type: array
                        items:
                          type: object
                          properties:
                            path:
                              type: string
                            code:
                              type: string
                            params:
                              type: object
                              additionalProperties:
                                anyOf:
                                  - type: string
                                  - type: number
                            message:
                              type: string
                          required:
                            - path
                            - code
                            - message
                          additionalProperties: false
                      workspaces:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                              format: uuid
                            name:
                              type: string
                            member_count:
                              type: integer
                              exclusiveMinimum: 0
                            kind:
                              type: string
                              enum:
                                - shared
                                - solo
                          required:
                            - id
                            - name
                            - member_count
                            - kind
                          additionalProperties: false
                    required:
                      - code
                    additionalProperties: false
                required:
                  - error
                additionalProperties: false
        '401':
          description: Missing, unknown, revoked or expired API key (`unauthenticated`).
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      issues:
                        type: array
                        items:
                          type: object
                          properties:
                            path:
                              type: string
                            code:
                              type: string
                            params:
                              type: object
                              additionalProperties:
                                anyOf:
                                  - type: string
                                  - type: number
                            message:
                              type: string
                          required:
                            - path
                            - code
                            - message
                          additionalProperties: false
                      workspaces:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                              format: uuid
                            name:
                              type: string
                            member_count:
                              type: integer
                              exclusiveMinimum: 0
                            kind:
                              type: string
                              enum:
                                - shared
                                - solo
                          required:
                            - id
                            - name
                            - member_count
                            - kind
                          additionalProperties: false
                    required:
                      - code
                    additionalProperties: false
                required:
                  - error
                additionalProperties: false
        '403':
          description: >-
            The key lacks the operation's scope (`insufficient_scope`) or a plan
            limit applies.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      issues:
                        type: array
                        items:
                          type: object
                          properties:
                            path:
                              type: string
                            code:
                              type: string
                            params:
                              type: object
                              additionalProperties:
                                anyOf:
                                  - type: string
                                  - type: number
                            message:
                              type: string
                          required:
                            - path
                            - code
                            - message
                          additionalProperties: false
                      workspaces:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                              format: uuid
                            name:
                              type: string
                            member_count:
                              type: integer
                              exclusiveMinimum: 0
                            kind:
                              type: string
                              enum:
                                - shared
                                - solo
                          required:
                            - id
                            - name
                            - member_count
                            - kind
                          additionalProperties: false
                    required:
                      - code
                    additionalProperties: false
                required:
                  - error
                additionalProperties: false
        '404':
          description: Not found in the key's workspace (`not_found`).
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      issues:
                        type: array
                        items:
                          type: object
                          properties:
                            path:
                              type: string
                            code:
                              type: string
                            params:
                              type: object
                              additionalProperties:
                                anyOf:
                                  - type: string
                                  - type: number
                            message:
                              type: string
                          required:
                            - path
                            - code
                            - message
                          additionalProperties: false
                      workspaces:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                              format: uuid
                            name:
                              type: string
                            member_count:
                              type: integer
                              exclusiveMinimum: 0
                            kind:
                              type: string
                              enum:
                                - shared
                                - solo
                          required:
                            - id
                            - name
                            - member_count
                            - kind
                          additionalProperties: false
                    required:
                      - code
                    additionalProperties: false
                required:
                  - error
                additionalProperties: false
        '422':
          description: >-
            The input does not match the contract (`invalid_input`, with
            `issues`: each has `path`, a stable validation `code`, optional
            `params` and the English `message`).
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      issues:
                        type: array
                        items:
                          type: object
                          properties:
                            path:
                              type: string
                            code:
                              type: string
                            params:
                              type: object
                              additionalProperties:
                                anyOf:
                                  - type: string
                                  - type: number
                            message:
                              type: string
                          required:
                            - path
                            - code
                            - message
                          additionalProperties: false
                      workspaces:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                              format: uuid
                            name:
                              type: string
                            member_count:
                              type: integer
                              exclusiveMinimum: 0
                            kind:
                              type: string
                              enum:
                                - shared
                                - solo
                          required:
                            - id
                            - name
                            - member_count
                            - kind
                          additionalProperties: false
                    required:
                      - code
                    additionalProperties: false
                required:
                  - error
                additionalProperties: false
        '429':
          description: >-
            The key's per-minute budget or an abuse budget is spent
            (`rate_limited`, with `Retry-After`).
          headers:
            Retry-After:
              description: Seconds to wait before retrying.
              schema:
                type: integer
                minimum: 0
            X-RateLimit-Limit:
              description: Requests this key may make per minute (its plan's budget).
              schema:
                type: integer
                minimum: 0
            X-RateLimit-Remaining:
              description: Requests left for this key in the current minute.
              schema:
                type: integer
                minimum: 0
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      issues:
                        type: array
                        items:
                          type: object
                          properties:
                            path:
                              type: string
                            code:
                              type: string
                            params:
                              type: object
                              additionalProperties:
                                anyOf:
                                  - type: string
                                  - type: number
                            message:
                              type: string
                          required:
                            - path
                            - code
                            - message
                          additionalProperties: false
                      workspaces:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                              format: uuid
                            name:
                              type: string
                            member_count:
                              type: integer
                              exclusiveMinimum: 0
                            kind:
                              type: string
                              enum:
                                - shared
                                - solo
                          required:
                            - id
                            - name
                            - member_count
                            - kind
                          additionalProperties: false
                    required:
                      - code
                    additionalProperties: false
                required:
                  - error
                additionalProperties: false
      security:
        - api_key:
            - notifications:write
components:
  securitySchemes:
    api_key:
      type: http
      scheme: bearer
      description: A workspace API key.

````

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