Skip to main content
DELETE
Delete TP/SL

Path Parameters

string
required
The public key of the margin position.
Same as Set TP/SL: Hyperliquid margin positions return 501 (error code 9201) because TP/SL is not available on that backend through this API yet.

Response

object
TP/SL state payload after cancel.
object
Empty object on success for this endpoint.
object | null
null on success. Error object on failed requests.