# Kill Switch

In the [XT Control Panel](https://docs.crosstrade.io/getting-started/user-account/xt-control-panel), we can set the [master Kill Switch](https://docs.crosstrade.io/webhooks/advanced-options/kill-switch) to block all alerts. Turning on the Kill Switch prevents CrossTrade from taking any action on any new alerts until the switch is turned off.

But what if you want to toggle this kill switch in an automated way?

We can toggle the master kill switch by setting `kill_switch=on;` or `kill_switch=off;` in a webhook message along with our `key`.

As soon as the request has been processed, the master kill switch will be immediately engaged and will block all incoming alerts.

## Example Payloads

Turning the master Kill Switch on:

> key=your-secret-key;\
> **kill\_switch=on;**

Turning the master Kill Switch off:

> key=your-secret-key;\
> **kill\_switch=off;**
