{
  "opencollection": "1.0.0",
  "info": {
    "name": "Upvest Investment Account Transfers Order Cancellations API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "/auth/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Order Cancellations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Upvest Cancel an order",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.upvest.co/orders/:order_id/cancellation",
            "params": [
              {
                "name": "order_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the order."
              }
            ]
          },
          "docs": "Request cancellation of a pending order. Cancellation may not be possible if the order is already in execution."
        }
      ]
    }
  ],
  "bundled": true
}