---
title: "Delete webhook"
method: POST
path: "/unsubscribe/"
tags: ["webhook"]
---

# Delete webhook

`POST /unsubscribe/`

## Request

- Base URL: `https://eu-api.legalesign.com/api/v1`
- URL: `https://eu-api.legalesign.com/api/v1/unsubscribe/`
- Auth: API key in header `Authorization`

## Request body

- CallbackDeletePost
  - `url` string, required: URL to remove, it must match any registered callback exactly
  - `eventFilter` '' | 'document.*' | 'document.created' | 'document.rejected' | 'document.finalPdfCreated' | 'recipient.*' | 'recipient.completed' | 'recipient.rejected' | 'recipient.emailOpened' | 'recipient.visiting' | 'recipient.bounced'
  - `group` integer: if a group filter is applied refer to it with slug or resource_uri

## Response `200`

operation successful, will return 200 whether url is subscribed or not

## Other responses

- `400`: bad request - not json data or not a valid url

## Changes

- **2025-09-26** `2e8288936d2d`: 1 info
  - endpoint added
- **2025-09-23** `3bf301e758f2`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/legalesign/apis/legalesign-api/changes/unsubscribe/post.md)

---

[API](https://skmtc.dev/legalesign/apis/legalesign-api.md) - [All operations](https://skmtc.dev/legalesign/apis/legalesign-api/llms.txt) - [OpenAPI document](https://skmtc.dev/legalesign/apis/legalesign-api/revisions/e0fcb6197e2c?raw)
