---
title: "Delete a webhook subscription"
method: DELETE
path: "/api/webhooksubscriptions/{webhookSubscriptionId}"
tags: ["Webhook subscriptions"]
---

# Delete a webhook subscription

`DELETE /api/webhooksubscriptions/{webhookSubscriptionId}`

## Request

- Base URL: `https://api.hairdora.com`
- URL: `https://api.hairdora.com/api/webhooksubscriptions/{webhookSubscriptionId}`
- Auth: API key in header `Authorization`

Delete a webhook subscription

## Path parameters

- `webhookSubscriptionId` string, required

## Response `200`

Deleted

- object
  - `_id` string
  - `salonId` string
  - `url` string, uri
  - `events` string[]
  - `active` boolean
  - `creationTime` string, date-time

## Other responses

- `default`: Error response

---

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