---
updatedAt: 2025-05-15T21:03:15.000Z
agentTools:
  projectIndex: https://docs.youlend.com/llms.txt
---

# Deletes a subscription

Deletes a subscription

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "YouLend Third Party Notification API",
    "description": "Through this API you can subscribe to events and get notified of these events via webhook",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://partners.staging-youlendapi.com/notification"
    }
  ],
  "paths": {
    "/WebhookSubscription/{subscriptionId}": {
      "delete": {
        "tags": [
          "WebhookSubscription"
        ],
        "summary": "Deletes a subscription",
        "parameters": [
          {
            "name": "subscriptionId",
            "in": "path",
            "description": "The Subscription Id",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "api-version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Webhook Subscription successfully deleted"
          },
          "400": {
            "description": "Something went wrong!"
          },
          "401": {
            "description": "Unauthorized request"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "oauth2": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://youlend-stag.eu.auth0.com/oauth/token",
            "scopes": {}
          }
        }
      }
    }
  },
  "security": [
    {
      "oauth2": []
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```