Perpetual orders

Cancel a direct perpetual order

Pending orders cancel locally. Submitted orders queue a venue cancellation. Poll until terminal: cancel_queued is not a fill/cancel confirmation. Existing fills remain and cancellation does not close a position.

post/v1/perp/orders/{orderId}/cancel

Request

  • Base URL: https://api.mob.exchange
  • URL: https://api.mob.exchange/v1/perp/orders/{orderId}/cancel
  • Auth: HTTP bearer

Headers

Idempotency-Keystring required

Persist one ID per intended mutation before sending. Reuse it with the same request for retries; different content returns 409.

Request body

object required

Response

Command accepted; poll the order for execution.

orderIdstring uuid required
status'cancelled' | 'cancel_queued' required

Changes

No recorded changes to this operation across all 1 revision of this API.