Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

A Lean API key, sent as Authorization: Bearer <key>. A test key (lean_sk_test_...) simulates orders and fills with no money; a live key (lean_sk_live_...) trades for real within the key's limits. Every successful response says which mode answered in data.livemode.

Path Parameters

id
string<uuid>
required
Example:

"8a1e5c07-4b3f-4d62-9f18-2c7e0a95d4b1"

Response

Order after the venue processed the cancel

success
enum<boolean>
required
Available options:
true
data
object
required
meta
object
required