DELETE /api/v1/orders/{order_id}
Cancel one resting order by id.
| Name |
In |
Type |
Required |
Description |
order_id |
path |
string (uuid) |
yes |
Order id. |
| Status |
Description |
Schema |
200 |
Success |
object |
401 |
Missing, malformed or unrecognised signature, or a timestamp outside the 30-second window. Body: {“error”:“Missing or invalid API key credentials”} |
Error |
422 |
The request was authenticated but rejected — for example a price above 99 cents. |
Error |
--url 'https://demo.stxapp.io/api/v1/orders/{order_id}' \
--header 'STX-ACCESS-KEY: <key-id>' \
--header 'STX-ACCESS-TIMESTAMP: <unix-ms>' \
--header 'STX-ACCESS-SIGNATURE: <base64-ed25519>'
Run this in the API console →