curl --request POST \
--url https://api.easierprop.com/api/accounts/{id}/close-all \
--header 'X-API-Key: <api-key>'{
"ok": true,
"data": {
"closed": [
12345678,
12345679
],
"failed": [
{}
],
"total_closed": 2,
"total_failed": 0
}
}Close all open positions for the account. Returns a summary of closed and failed tickets.
curl --request POST \
--url https://api.easierprop.com/api/accounts/{id}/close-all \
--header 'X-API-Key: <api-key>'{
"ok": true,
"data": {
"closed": [
12345678,
12345679
],
"failed": [
{}
],
"total_closed": 2,
"total_failed": 0
}
}