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

# Delete Notification Channel

> Delete an owned channel. It is automatically detached from any schedule preferences that reference it.



## OpenAPI

````yaml DELETE /notification-channels/{id}
openapi: 3.1.0
info:
  title: Cronhost API
  description: >-
    Schedule HTTP requests with cron expressions. Cronhost allows you to
    automate HTTP requests on a schedule using familiar cron syntax.
  license:
    name: MIT
  version: 1.0.0
  contact:
    name: Cronhost Support
    email: help@cronho.st
    url: https://cronho.st
servers:
  - url: https://cronho.st/api/v1
    description: Production API
security:
  - apiKeyAuth: []
tags:
  - name: Schedules
    description: Create, manage, and control scheduled HTTP requests
  - name: Jobs
    description: Monitor and retrieve job execution details
  - name: Notification Channels
    description: Manage the destinations that receive schedule alerts
  - name: Schedule Notifications
    description: Configure which outcomes notify you per schedule
paths:
  /notification-channels/{id}:
    delete:
      tags:
        - Notification Channels
      summary: Delete Notification Channel
      description: >-
        Delete an owned channel. It is automatically detached from any schedule
        preferences that reference it.
      operationId: deleteNotificationChannel
      parameters:
        - name: id
          in: path
          required: true
          description: Unique channel identifier
          schema:
            type: string
            example: channel_123
      responses:
        '200':
          description: Channel deleted
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                  success:
                    type: boolean
                    example: true
                required:
                  - data
                  - success
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '404':
          $ref: '#/components/responses/NotFoundError'
        '500':
          $ref: '#/components/responses/InternalServerError'
components:
  responses:
    UnauthorizedError:
      description: Authentication failed
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
          examples:
            missingApiKey:
              summary: Missing API key
              value:
                error:
                  message: Missing x-api-key header
                  code: UNAUTHORIZED
            invalidApiKey:
              summary: Invalid API key
              value:
                error:
                  message: Invalid API key
                  code: UNAUTHORIZED
    NotFoundError:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
          examples:
            scheduleNotFound:
              summary: Schedule not found
              value:
                error:
                  message: Schedule not found
                  code: NOT_FOUND
            jobNotFound:
              summary: Job not found
              value:
                error:
                  message: Job not found
                  code: NOT_FOUND
    InternalServerError:
      description: Internal server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
          example:
            error:
              message: Internal server error
              code: INTERNAL_ERROR
  schemas:
    ApiError:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - message
            - code
          properties:
            message:
              type: string
              description: Human-readable error message
            code:
              type: string
              description: Error code for programmatic handling
            details:
              description: Additional error details
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        API key for authentication. Get your API key from the [Cronhost
        dashboard](https://cronho.st/settings).

````