---
title: "Delete webhook"
method: DELETE
path: "/v2/webhooks/{webhook_id}"
tags: ["webhooks"]
---

# Delete webhook

`DELETE /v2/webhooks/{webhook_id}`

## Request

- Base URL: `https://api.hubstaff.com`
- URL: `https://api.hubstaff.com/v2/webhooks/{webhook_id}`
- Auth: OAuth 2
  - Authorization code: `https://account.hubstaff.com/authorizations/new`
  - Token URL: `https://account.hubstaff.com/access_tokens` scopes: `hubstaff:read`, `hubstaff:write`
- TypeScript: <https://skmtc.dev/hubstaff/apis/hubstaff-v2-api/docs/v2/webhooks/:webhook_id/delete.ts> (a function with typed inputs; its response is checked against the schema)

Permanently deletes a webhook. The webhook will stop receiving events immediately.

## Path parameters

- `webhook_id` string, required

## Response `204`

Webhook deleted

## Other responses

- `400`: Invalid parameters
- `401`: Unauthorized
- `403`: API access is only for organizations on an active plan
- `404`: Could not find record
- `429`: Rate limit exceeded
- `503`: Webhook service unavailable

---

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