remove_hook
Detach a lifecycle hook by its registry id to stop it from firing. Returns success on removal or a not-found error if the id is absent.
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). |