cURL
curl --request POST \ --url https://api.centosfi.com/v1/orders/cancel-all \ --header 'Content-Type: application/json' \ --data ' { "subaccount_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } '
{ "cancelled_centos_order_ids": [ "3c90c3cc-0d44-4b50-8888-8dd25736052a" ], "failed_cancelled_reasons": {} }
Cancel all open orders for a subaccount.
Returns count of orders being cancelled. Cancellation is processed asynchronously.
Request body for cancelling all orders for a subaccount.
Successful Response
Schema for cancel order response
List of cancelled centos order identifiers
Dictionary of failed to cancel centos order identifiers and reasons
Show child attributes