Skip to main content
POST

Authorizations

Authorization
string
header
required

Your secret key (sk_…) as Authorization: Bearer sk_…. The header X-Peeve-Key: sk_… is accepted as an alternative.

Body

application/json
on
boolean
default:true

true activates the kill switch, false clears it. Defaults to true when omitted.

Response

The new state.

ok
boolean
required
kill_switch
boolean
required