Skip to main content
DELETE
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
required
Required string length: 1 - 64
Example:

"5b2f8c14-7d3e-4a91-8c06-e4f1a9d27b30"

Response

The conditional sell, canceled

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