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

# [DRAFT] Delete webhook subscription

<Note>
  **Coming soon**: The Webhooks API is currently under design review. This documentation describes the target interface and may change before release.
</Note>

## Overview

Deletes a webhook subscription. No further events will be delivered to its endpoint, including events that were pending retry.


## OpenAPI

````yaml DELETE /webhooks/subscriptions/{subscriptionId}
openapi: 3.0.1
info:
  title: Partners API
  description: >-
    Partners API definition where you can check the documentation for the
    different available operations to integrate with the platform.
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://pre-partners-api.cobee.io/api/v3
  - url: https://partners-api.cobee.io/api/v3
security:
  - bearerAuth: []
paths:
  /webhooks/subscriptions/{subscriptionId}:
    delete:
      summary: Delete a webhook subscription
      parameters:
        - name: subscriptionId
          in: path
          required: true
          description: The unique identifier of the webhook subscription
          schema:
            type: string
            format: uuid
          example: c3d4e5f6-a1b2-4c3d-8e5f-6a7b8c9d0e1f
      responses:
        '204':
          description: >-
            Webhook subscription successfully deleted. No further events will be
            delivered to its endpoint.
        '404':
          description: Not Found - The webhook subscription was not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                message: Resource not found
        '500':
          description: Internal Server Error - Something went wrong on our end
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                message: Internal server error
components:
  schemas:
    Error:
      required:
        - error
        - message
      type: object
      properties:
        error:
          type: integer
          format: int32
        message:
          type: string
      example:
        message: 'Bad request: Invalid field value'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````