Skip to content

Trader's Control

Kill Switch

This API lets you activate the kill switch for your account, which will disable trading for current trading day. You can pass header parameter as ACTIVATE or DEACTIVATE to manage Kill Switch settings.


You need to ensure that all your positions are closed and there are no pending orders in your account to be able to activate Kill Switch.

curl --request POST \
--url '' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'access-token: JWT'

Request Structure

No Body

Response Structure

    "killSwitchStatus": "Kill Switch has been successfully activated"


Field Type Description
dhanClientId string User specific identification generated by Dhan
killSwitchStatus string Status of Kill Switch - activated or not

Note: For description of enum values, refer Annexure