POST
/
rest
/
kill-switch
Kill Switch
curl --request POST \
  --url https://api.exchange.fairx.net/rest/kill-switch \
  --header 'Content-Type: application/json' \
  --data '{
  "fcm_uuid": "123e4567-e89b-12d3-a456-426614174000",
  "firm_uuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
  "trading_user_uuid": "f81d4fae-7dec-11d0-a765-00a0c91e6bf6",
  "only_cancel_no_trading_lock": true
}'
{
  "num_users_affected": 4,
  "num_orders_canceled": 0
}

Body

application/json

Kill switch parameters

only_cancel_no_trading_lock
boolean
required
fcm_uuid
string
Example:

"123e4567-e89b-12d3-a456-426614174000"

firm_uuid
string
Example:

"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"

trading_user_uuid
string
Example:

"f81d4fae-7dec-11d0-a765-00a0c91e6bf6"

Response

Kill switch executed successfully

num_users_affected
integer
Example:

4

num_orders_canceled
integer
Example:

0