1. Docs
  2. API Reference
  3. LoginResponseDto

LoginResponseDto

Example

JSON
{
  "requires_account_selection": false,
  "expires_in": 0,
  "user": {
    "id": "string",
    "email": "string",
    "first_name": "string",
    "last_name": "string"
  },
  "access_token": "string",
  "token_type": "string",
  "default_environment_slug": "string",
  "accounts": [
    {
      "account_id": "string",
      "account_name": "string",
      "account_slug": "string",
      "account_role": "string",
      "applications": [
        {
          "id": "string",
          "name": "string",
          "slug": "string"
        }
      ]
    }
  ],
  "pending_account_creation": false
}

Properties

8 properties 2 required

requires_account_selection boolean Required
expires_in number Required
user AuthUserDto Optional
access_token string Optional
token_type string Optional
default_environment_slug string Optional
accounts array of AuthAccountDto Optional
pending_account_creation boolean Optional
Was this page helpful?

Tell us how we can improve this guide.