# delete_all_deploy_hooks

Source: https://modulify.ai/docs/mcp/deploy-hooks/delete-all-deploy-hooks

Permanently deletes every deploy hook on a site, with all of their call logs.

- Title: Delete every deploy hook
- Scope: `config:write`
- Access: Destructive

Every hook URL stops working immediately and there is no undo. The tool tells the client to read the list with `list_deploy_hooks` and confirm it with you first, and to use `delete_deploy_hook` when only one hook is meant. It reports how many hooks it deleted.

It needs the **Delete projects** permission in the workspace, the same one the Settings tab of Deploy hooks asks for. See [Deploy hooks](https://modulify.ai/docs/automations/deploy-hooks#export-and-clear).

## Inputs

| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `projectId` | string | Yes | The site id. |