Cancel Order

DELETE/accounts/{accountId}/orders/{orderId}

Cancel an open order for the specified account.

Path Parameters

accountIdstringrequired

The account identifier.

orderIdstringrequired

The order identifier to cancel.

Response

200application/json

Order cancelled successfully.

sstring

Status indicator. ok on success.

Response

errorapplication/json

Request rejected.

sstring

Error code string, e.g. invalid_grant.

errmsgstring

Human-readable error message.

Response Example

{
  "s": "ok"
}