pub fn set_hook_enabled(event: &str, hook_id: &str, enabled: bool) -> Result<()>
Enable or disable a hook.