Modulify

Turn a deploy hook on or off

toggle_deploy_hook

Turns one deploy hook on or off without deleting it.

Scopeconfig:writeMakes changes

A hook that is turned off keeps its URL and its call log. Calls to it are still logged, as disabled, but they start nothing until it is turned back on.

They still count toward the 10 calls a minute, so past that they are answered as rate-limited and only the first of them is logged. This is the reversible way to stop a hook, and usually what someone means by "stop this hook". See Deploy hooks.

Inputs

Input Type Required Description
projectId string Yes The site id.
hookId string Yes The hook id from list_deploy_hooks.
enabled boolean Yes True to turn it on, false to turn it off.