# GetTokenDetailsUserPlexAccount

Logged in user details


## Fields

| Field                                                                                                                                                                 | Type                                                                                                                                                                  | Required                                                                                                                                                              | Description                                                                                                                                                           | Example                                                                                                                                                               |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `ads_consent`                                                                                                                                                         | *T::Boolean*                                                                                                                                                          | :heavy_check_mark:                                                                                                                                                    | Unknown                                                                                                                                                               |                                                                                                                                                                       |
| `ads_consent_reminder_at`                                                                                                                                             | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html)                                                                                                  | :heavy_check_mark:                                                                                                                                                    | Unknown                                                                                                                                                               |                                                                                                                                                                       |
| `ads_consent_set_at`                                                                                                                                                  | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html)                                                                                                  | :heavy_check_mark:                                                                                                                                                    | Unknown                                                                                                                                                               |                                                                                                                                                                       |
| `anonymous`                                                                                                                                                           | *T::Boolean*                                                                                                                                                          | :heavy_check_mark:                                                                                                                                                    | Unknown                                                                                                                                                               |                                                                                                                                                                       |
| `auth_token`                                                                                                                                                          | *::String*                                                                                                                                                            | :heavy_check_mark:                                                                                                                                                    | The account token                                                                                                                                                     | CxoUzBTSV5hsxjTpFKaf                                                                                                                                                  |
| `backup_codes_created`                                                                                                                                                | *T::Boolean*                                                                                                                                                          | :heavy_check_mark:                                                                                                                                                    | If the two-factor authentication backup codes have been created                                                                                                       |                                                                                                                                                                       |
| `confirmed`                                                                                                                                                           | *T::Boolean*                                                                                                                                                          | :heavy_check_mark:                                                                                                                                                    | If the account has been confirmed                                                                                                                                     |                                                                                                                                                                       |
| `country`                                                                                                                                                             | *::String*                                                                                                                                                            | :heavy_check_mark:                                                                                                                                                    | The account country                                                                                                                                                   | US                                                                                                                                                                    |
| `email`                                                                                                                                                               | *::String*                                                                                                                                                            | :heavy_check_mark:                                                                                                                                                    | The account email address                                                                                                                                             | username@email.com                                                                                                                                                    |
| `email_only_auth`                                                                                                                                                     | *T::Boolean*                                                                                                                                                          | :heavy_check_mark:                                                                                                                                                    | If login with email only is enabled                                                                                                                                   |                                                                                                                                                                       |
| `experimental_features`                                                                                                                                               | *T::Boolean*                                                                                                                                                          | :heavy_check_mark:                                                                                                                                                    | If experimental features are enabled                                                                                                                                  |                                                                                                                                                                       |
| `friendly_name`                                                                                                                                                       | *::String*                                                                                                                                                            | :heavy_check_mark:                                                                                                                                                    | Your account full name                                                                                                                                                | friendlyUsername                                                                                                                                                      |
| `entitlements`                                                                                                                                                        | T::Array<*::String*>                                                                                                                                                  | :heavy_check_mark:                                                                                                                                                    | List of devices your allowed to use with this account                                                                                                                 |                                                                                                                                                                       |
| `guest`                                                                                                                                                               | *T::Boolean*                                                                                                                                                          | :heavy_check_mark:                                                                                                                                                    | If the account is a Plex Home guest user                                                                                                                              |                                                                                                                                                                       |
| `has_password`                                                                                                                                                        | *T::Boolean*                                                                                                                                                          | :heavy_check_mark:                                                                                                                                                    | If the account has a password                                                                                                                                         |                                                                                                                                                                       |
| `home`                                                                                                                                                                | *T::Boolean*                                                                                                                                                          | :heavy_check_mark:                                                                                                                                                    | If the account is a Plex Home user                                                                                                                                    |                                                                                                                                                                       |
| `home_admin`                                                                                                                                                          | *T::Boolean*                                                                                                                                                          | :heavy_check_mark:                                                                                                                                                    | If the account is the Plex Home admin                                                                                                                                 |                                                                                                                                                                       |
| `home_size`                                                                                                                                                           | *::Integer*                                                                                                                                                           | :heavy_check_mark:                                                                                                                                                    | The number of accounts in the Plex Home                                                                                                                               | 1                                                                                                                                                                     |
| `id`                                                                                                                                                                  | *::Integer*                                                                                                                                                           | :heavy_check_mark:                                                                                                                                                    | The Plex account ID                                                                                                                                                   | 13692262                                                                                                                                                              |
| `joined_at`                                                                                                                                                           | *::Integer*                                                                                                                                                           | :heavy_check_mark:                                                                                                                                                    | Unix epoch datetime                                                                                                                                                   | 1556281940                                                                                                                                                            |
| `locale`                                                                                                                                                              | *::String*                                                                                                                                                            | :heavy_check_mark:                                                                                                                                                    | The account locale                                                                                                                                                    |                                                                                                                                                                       |
| `mailing_list_active`                                                                                                                                                 | *T::Boolean*                                                                                                                                                          | :heavy_check_mark:                                                                                                                                                    | If you are subscribed to the Plex newsletter                                                                                                                          |                                                                                                                                                                       |
| `mailing_list_status`                                                                                                                                                 | [::PlexRubySDK::Operations::MailingListStatus](../../models/operations/mailingliststatus.md)                                                                          | :heavy_check_mark:                                                                                                                                                    | Your current mailing list status                                                                                                                                      |                                                                                                                                                                       |
| `max_home_size`                                                                                                                                                       | *::Integer*                                                                                                                                                           | :heavy_check_mark:                                                                                                                                                    | The maximum number of accounts allowed in the Plex Home                                                                                                               | 15                                                                                                                                                                    |
| ~~`pin`~~                                                                                                                                                             | *T.nilable(::String)*                                                                                                                                                 | :heavy_minus_sign:                                                                                                                                                    | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.<br/><br/>[Might be removed] The hashed Plex Home PIN  |                                                                                                                                                                       |
| `profile`                                                                                                                                                             | [::PlexRubySDK::Operations::UserProfile](../../models/operations/userprofile.md)                                                                                      | :heavy_check_mark:                                                                                                                                                    | N/A                                                                                                                                                                   |                                                                                                                                                                       |
| `protected`                                                                                                                                                           | *T::Boolean*                                                                                                                                                          | :heavy_check_mark:                                                                                                                                                    | If the account has a Plex Home PIN enabled                                                                                                                            |                                                                                                                                                                       |
| `remember_expires_at`                                                                                                                                                 | *::Integer*                                                                                                                                                           | :heavy_check_mark:                                                                                                                                                    | Unix epoch datetime                                                                                                                                                   | 1556281940                                                                                                                                                            |
| `restricted`                                                                                                                                                          | *T::Boolean*                                                                                                                                                          | :heavy_check_mark:                                                                                                                                                    | If the account is a Plex Home managed user                                                                                                                            |                                                                                                                                                                       |
| `roles`                                                                                                                                                               | T::Array<*::String*>                                                                                                                                                  | :heavy_minus_sign:                                                                                                                                                    | [Might be removed] List of account roles. Plexpass membership listed here                                                                                             |                                                                                                                                                                       |
| `scrobble_types`                                                                                                                                                      | *::String*                                                                                                                                                            | :heavy_check_mark:                                                                                                                                                    | Unknown                                                                                                                                                               |                                                                                                                                                                       |
| `services`                                                                                                                                                            | T::Array<[::PlexRubySDK::Operations::Services](../../models/operations/services.md)>                                                                                  | :heavy_check_mark:                                                                                                                                                    | N/A                                                                                                                                                                   |                                                                                                                                                                       |
| `subscription`                                                                                                                                                        | [::PlexRubySDK::Operations::Subscription](../../models/operations/subscription.md)                                                                                    | :heavy_check_mark:                                                                                                                                                    | If the account’s Plex Pass subscription is active                                                                                                                     |                                                                                                                                                                       |
| `subscription_description`                                                                                                                                            | *::String*                                                                                                                                                            | :heavy_check_mark:                                                                                                                                                    | Description of the Plex Pass subscription                                                                                                                             |                                                                                                                                                                       |
| `subscriptions`                                                                                                                                                       | T::Array<[::PlexRubySDK::Operations::GetTokenDetailsSubscription](../../models/operations/gettokendetailssubscription.md)>                                            | :heavy_check_mark:                                                                                                                                                    | N/A                                                                                                                                                                   |                                                                                                                                                                       |
| `thumb`                                                                                                                                                               | *::String*                                                                                                                                                            | :heavy_check_mark:                                                                                                                                                    | URL of the account thumbnail                                                                                                                                          | https://plex.tv/users/a4f43c1ebfde43a5/avatar?c=8372075101                                                                                                            |
| `title`                                                                                                                                                               | *::String*                                                                                                                                                            | :heavy_check_mark:                                                                                                                                                    | The title of the account (username or friendly name)                                                                                                                  | UsernameTitle                                                                                                                                                         |
| `two_factor_enabled`                                                                                                                                                  | *T::Boolean*                                                                                                                                                          | :heavy_check_mark:                                                                                                                                                    | If two-factor authentication is enabled                                                                                                                               |                                                                                                                                                                       |
| `username`                                                                                                                                                            | *::String*                                                                                                                                                            | :heavy_check_mark:                                                                                                                                                    | The account username                                                                                                                                                  | Username                                                                                                                                                              |
| `uuid`                                                                                                                                                                | *::String*                                                                                                                                                            | :heavy_check_mark:                                                                                                                                                    | The account UUID                                                                                                                                                      | dae343c1f45beb4f                                                                                                                                                      |