{
  "opencollection": "1.0.0",
  "info": {
    "name": "Mist Admins Admins Login API",
    "version": "2604.1.1"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Admins Login",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "login",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mist.com/api/v1/login",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Log in with email/password.\nWhen 2FA is enabled, there are two ways to login:\n1. login with two_factor token (with Google Authenticator, etc) \n2. login with email/password, generate the token, and use /login/two_factor with the token"
        },
        {
          "info": {
            "name": "twoFactor",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mist.com/api/v1/login/two_factor",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Send 2FA Code"
        }
      ]
    }
  ],
  "bundled": true
}