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

# Delete subscription

> Soft-deletes the subscription. Returns `200` with `status: "DELETED"`, not an empty `204`. In-flight deliveries are cancelled, delivery history is kept, and the URL can be registered again later.



## OpenAPI

````yaml api-reference/endl-webhooks-api.json DELETE /api/v0/webhooks/subscriptions/{id}
openapi: 3.1.0
info:
  title: Endl Webhooks API
  version: '0'
  description: >-
    Register where your events go, inspect what happened to each delivery, and
    read the PULL feed.


    Every endpoint returns the standard Endl response envelope and requires the
    `webhooks` permission — the PULL feed additionally requires `events`.
servers:
  - url: https://qa-api.endl.xyz
    description: QA
security:
  - apiKey: []
tags:
  - name: Subscriptions
    description: Register and manage the endpoints that receive your events.
  - name: Deliveries
    description: Inspect and retry individual delivery attempts.
  - name: Events
    description: Read events from the PULL feed.
paths:
  /api/v0/webhooks/subscriptions/{id}:
    parameters:
      - $ref: '#/components/parameters/SubscriptionId'
    delete:
      tags:
        - Subscriptions
      summary: Delete subscription
      description: >-
        Soft-deletes the subscription. Returns `200` with `status: "DELETED"`,
        not an empty `204`. In-flight deliveries are cancelled, delivery history
        is kept, and the URL can be registered again later.
      responses:
        '200':
          description: Deleted.
          content:
            application/json:
              example:
                code: 200
                message: Subscription deleted
                status: SUCCESS
                data:
                  id: 2b1e8f40-3c9a-4d21-9f7e-6a1c0b5d2e34
                  deliveryMode: PUSH
                  target: https://api.acme.com/webhooks/endl
                  eventFilter:
                    - payout.completed
                  schemaVersion: '1.0'
                  status: DELETED
                  secretHint: whsec_…9Kd2
                  createdOn: '2026-09-02T12:34:56.789Z'
                errors: []
        '400':
          description: Missing permission.
        '401':
          description: Authentication failed.
        '404':
          description: Not found, or already deleted.
        '503':
          description: Endl could not verify the credential right now.
components:
  parameters:
    SubscriptionId:
      name: id
      in: path
      required: true
      schema:
        type: string
        format: uuid
      description: The subscription's UUID.
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: API-KEY
      description: >-
        Your partner API key. Requires the `webhooks` permission, or `events`
        for the PULL feed.

````