cURL
curl --request POST \ --url https://api.perpo.trade/v1/order/cancel_all_after \ --header 'Content-Type: application/json' \ --header 'perpo-account-id: <perpo-account-id>' \ --header 'perpo-key: <perpo-key>' \ --header 'perpo-signature: <perpo-signature>' \ --header 'perpo-timestamp: <perpo-timestamp>' \ --data ' { "trigger_after": 5000 } '
{ "success": true, "data": { "expected_trigger_time": "1711534302938" }, "timestamp": 1702989203989 }
Timeout in milliseconds. Min timeout is 5000. Max timeout can be set to 900000. To cancel this timer, set timeout to 0.
5000
OK
true
Show child attributes
1702989203989