remove_hook
Remove a lifecycle hook by its registry ID to stop it from firing. Use when retiring a webhook or command without affecting secrets.
Instructions
[hooks] Detach a single lifecycle hook by its registry id so it stops firing. Use to retire a specific webhook/command without touching any secrets; prefer delete_secret to remove a credential and tunnel_destroy for ephemeral tunnels. Mutates the hook registry only — does not touch secret values, audit log, or env states. Idempotent in spirit: removing an already-absent id returns a not-found error rather than partial work. Returns 'Removed hook ID' on success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Hook id returned by `register_hook` or visible in `list_hooks` (opaque string). |