{
  "opencollection": "1.0.0",
  "info": {
    "name": "Secureworks Taegis XDR Authentication API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Authentication",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Obtain Access Token",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.ctpx.secureworks.com/auth/api/v2/auth/token",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Exchange client credentials for an OAuth2 bearer access token using the client credentials grant flow. The client_id and client_secret are provided via HTTP Basic authentication. The returned access_token is used in subsequent API requests via the Authorization Bearer header."
        }
      ]
    }
  ],
  "bundled": true
}