# Users2FALoginRequest


[API catalog](/reference/api/) · [Publisher analytics overview](/reference/api/dvp/latest/) · [Product manual](https://docs.docker.com/docker-hub/repos/manage/trusted-content/insights-analytics/) · [OpenAPI specification](/reference/api/dvp/latest.yaml)

API version: 1.0.0



Schema constraints and annotations:

```json
{
  "description": "Second factor user login details",
  "examples": [
    {
      "code": "123456",
      "login_2fa_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"
    }
  ],
  "properties": {
    "code": {
      "description": "The Time-based One-Time Password of the Docker Hub account to authenticate with.",
      "example": "123456",
      "type": "string"
    },
    "login_2fa_token": {
      "description": "The intermediate 2FA token returned from `/v2/users/login` API.",
      "example": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c",
      "type": "string"
    }
  },
  "required": [
    "login_2fa_token",
    "code"
  ],
  "type": "object"
}
```



