Endpoint Parameters

  • Request parameters

    Name Type Origin Description
    AccountKey AccountKey Query-String Unique key identifying the account.
    PositionIds String Route Comma-delimited string of (trade) position ids to cancel.
  • Response Parameters

    View Response Codes
    Name Type Description
    Trades Trade [] Info about each trade that was requested to be cancelled.
  • Request Example

    Request URL
    DELETE /trade/v2/trades/67762872?AccountKey=LZTc7DdejXODf-WSl2aCyQ==
  • Response Example

    Response body
    {
      "Trades": [
        {
          "ErrorInfo": {
            "ErrorCode": "stringValue",
            "Message": "stringValue",
            "PreTradeDisclaimers": {
              "DisclaimerContext": "stringValue",
              "DisclaimerTokens": [
                "stringValue"
              ]
            }
          },
          "PositionId": "stringValue"
        }
      ]
    }