Delete a deploy hook
delete_deploy_hook
Permanently deletes one deploy hook and its whole call log.
Scopeconfig:writeDestructive
Its URL stops starting builds immediately, so anything still calling it starts failing, and there is no undo, since a new hook gets a new URL. Turning it off with toggle_deploy_hook is the reversible option. The tool tells the client to confirm with you first. See Deploy hooks.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
projectId |
string | Yes | The site id. |
hookId |
string | Yes | The hook id from list_deploy_hooks. |