Skip to main content
POST
/
2
/
perp
/
lighter
/
cancel-order
Cancel Lighter order
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
}

Body

application/json
timestamp
number
required
signature
string
required
orderIndex
number
required
marketId
number
required

Response

200 - application/json

Cancel order response

success
boolean
required
data
unknown