# Delete a webhook

Removes a webhook subscription. Events will no longer be delivered to this URL.
This action is **irreversible** — to temporarily stop deliveries without losing
the configuration, consider updating the URL to a placeholder instead.

Endpoint: DELETE /hooks/{hookId}
Version: 1.6.0
Security: bearerAuth

## Security:

  - `bearerAuth` (unknown)
    http bearer opaque

## Path parameters:

  - `hookId` (integer, required)
    ID of the webhook to delete.

## Response 204:

  - `204` (unknown)
    Deleted successfully

## Response 403:

  - `403` (unknown)
    Access denied. The error `code` is always `FORBIDDEN`; the `message` gives the cause:
- `You do not have permission to perform this action.`
 — the access does not

hold the API pack / right required by the endpoint.
- `Insufficient scope for this request.`
 — the resource targeted by the request

(user, customer, product, agency, transaction, ...) is outside the scope of

the authenticated access.
- `Access denied for this editor.`
 /
`Your IP address has been blocked.`
 —

editor or IP restriction.

## Response 403 fields (application/json):

  - `error` (object)

  - `error.code` (string, required)

  - `error.message` (string, required)

## Response 404:

  - `404` (unknown)
    Resource not found. The error `code` is `RESOURCE_NOT_FOUND` and the `message`
names the missing resource.

## Response 404 fields (application/json):

  - `error` (object)

  - `error.code` (string, required)

  - `error.message` (string, required)

## Response 403 examples:

  - `Missing API pack / right` (unknown)

  - `Resource outside the scope of the access` (unknown)

