cURL
curl --request POST \ --url https://demo-api.mobula.io/api/2/perp/lighter/cancel-order \ --header 'Content-Type: application/json' \ --data ' { "timestamp": 123, "signature": "<string>", "orderIndex": 123, "marketId": 123 } '
{ "success": true, "data": null }
Cancel an unfilled order on Lighter. Requires signature authentication with a timestamp to prevent replay attacks.
Cancel order response