{
  "opencollection": "1.0.0",
  "info": {
    "name": "Microsoft Purview Account Accounts Workflow Run API",
    "version": "2021-12-01"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://login.microsoftonline.com/{tenantId}/oauth2/v2.0/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Workflow Run",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Microsoft Purview Get a workflow run",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://management.azure.com/workflowruns/:workflowRunId",
            "params": [
              {
                "name": "workflowRunId",
                "value": "",
                "type": "path"
              },
              {
                "name": "api-version",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Get a workflow run by its identifier."
        },
        {
          "info": {
            "name": "Microsoft Purview Cancel a workflow run",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://management.azure.com/workflowruns/:workflowRunId/cancel",
            "params": [
              {
                "name": "workflowRunId",
                "value": "",
                "type": "path"
              },
              {
                "name": "api-version",
                "value": "",
                "type": "query"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Cancel a running workflow run."
        }
      ]
    }
  ],
  "bundled": true
}