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

# Delete webhook subscription

> Delete a webhook subscription for the authenticated partner. Deleted subscriptions stop receiving future webhook events.

Deletes a webhook subscription for the authenticated partner.

Deleted subscriptions stop receiving future webhook events. This endpoint returns `204 No Content` when deletion succeeds.


## OpenAPI

````yaml DELETE /partner/webhook-subscriptions/{subscriptionId}
openapi: 3.0.1
info:
  title: Commenda Public APIs
  description: >-
    APIs for Commenda entity management, partner incorporation, indirect tax,
    compliance, and corporate operations.
  license:
    name: NONE
    url: NONE
  version: 1.0.0
servers:
  - url: https://api.prod.commenda.io/api/v1
    description: Commenda platform APIs, including Partner Incorporation and Commenda OS.
  - url: https://transaction-tax.api.in.commenda.io/api/v1
    description: Global Indirect Tax API.
security:
  - bearerAuth: []
paths:
  /partner/webhook-subscriptions/{subscriptionId}:
    delete:
      summary: Delete webhook subscription
      description: >-
        Delete a webhook subscription for the authenticated partner. Deleted
        subscriptions stop receiving future webhook events.
      operationId: deletePartnerWebhookSubscription
      parameters:
        - name: subscriptionId
          in: path
          required: true
          schema:
            type: string
          description: Webhook subscription identifier.
      responses:
        '204':
          description: Webhook subscription deleted successfully
        '401':
          description: Missing or invalid partner API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AffiliatePublicError'
        '404':
          description: Webhook subscription not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AffiliatePublicError'
      security:
        - xApiKeyAuth: []
      servers:
        - url: https://api.prod.commenda.io/api/v1
components:
  schemas:
    AffiliatePublicError:
      type: object
      required:
        - statusCode
        - message
        - error
      properties:
        statusCode:
          type: integer
          example: 403
        message:
          oneOf:
            - type: string
            - type: array
              items:
                type: string
          example: Company does not belong to this affiliate firm
        error:
          type: string
          example: Forbidden
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
    xApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````