mirror of
https://github.com/LukeHagar/plexpy.git
synced 2025-12-06 04:20:52 +00:00
37 KiB
37 KiB
PostUsersSignInDataUserPlexAccount
Returns the user account data with a valid auth token
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
ads_consent |
Nullable[bool] | ✔️ | Unknown | |
ads_consent_reminder_at |
Nullable[int] | ✔️ | N/A | 1556281940 |
ads_consent_set_at |
Nullable[int] | ✔️ | N/A | 1556281940 |
auth_token |
str | ✔️ | The account token | CxoUzBTSV5hsxjTpFKaf |
country |
str | ✔️ | The account country | US |
email |
str | ✔️ | The account email address | username@email.com |
friendly_name |
str | ✔️ | Your account full name | friendlyUsername |
entitlements |
List[str] | ✔️ | List of devices your allowed to use with this account | |
home_size |
int | ✔️ | The number of accounts in the Plex Home | 1 |
id |
int | ✔️ | The Plex account ID | 13692262 |
joined_at |
int | ✔️ | Unix epoch datetime in seconds | 1556281940 |
locale |
Nullable[str] | ✔️ | The account locale | |
mailing_list_status |
operations.PostUsersSignInDataMailingListStatus | ✔️ | Your current mailing list status (active or unsubscribed) | active |
max_home_size |
int | ✔️ | The maximum number of accounts allowed in the Plex Home | 15 |
profile |
operations.PostUsersSignInDataUserProfile | ✔️ | N/A | |
remember_expires_at |
int | ✔️ | Unix epoch datetime in seconds | 1556281940 |
scrobble_types |
str | ✔️ | Unknown | |
services |
List[operations.PostUsersSignInDataServices] | ✔️ | N/A | |
subscription |
operations.PostUsersSignInDataSubscription | ✔️ | If the account’s Plex Pass subscription is active | |
subscription_description |
Nullable[str] | ✔️ | Description of the Plex Pass subscription | |
thumb |
str | ✔️ | URL of the account thumbnail | https://plex.tv/users/a4f43c1ebfde43a5/avatar?c=8372075101 |
title |
str | ✔️ | The title of the account (username or friendly name) | UsernameTitle |
username |
str | ✔️ | The account username | Username |
uuid |
str | ✔️ | The account UUID | dae343c1f45beb4f |
attribution_partner |
Nullable[str] | ✔️ | N/A | |
past_subscriptions |
List[operations.PastSubscription] | ✔️ | N/A | |
trials |
List[operations.Trials] | ✔️ | N/A | |
anonymous |
OptionalNullable[bool] | ➖ | Unknown | |
backup_codes_created |
Optional[bool] | ➖ | If the two-factor authentication backup codes have been created | |
confirmed |
Optional[bool] | ➖ | If the account has been confirmed | |
email_only_auth |
Optional[bool] | ➖ | If login with email only is enabled | |
experimental_features |
Optional[bool] | ➖ | If experimental features are enabled | |
guest |
Optional[bool] | ➖ | If the account is a Plex Home guest user | |
has_password |
Optional[bool] | ➖ | If the account has a password | |
home |
Optional[bool] | ➖ | If the account is a Plex Home user | |
home_admin |
Optional[bool] | ➖ | If the account is the Plex Home admin | |
mailing_list_active |
Optional[bool] | ➖ | If you are subscribed to the Plex newsletter | |
pin |
Optional[str] | ➖ | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible. [Might be removed] The hashed Plex Home PIN |
|
protected |
Optional[bool] | ➖ | If the account has a Plex Home PIN enabled | |
restricted |
Optional[bool] | ➖ | If the account is a Plex Home managed user | |
roles |
List[str] | ➖ | [Might be removed] List of account roles. Plexpass membership listed here | |
subscriptions |
List[operations.PostUsersSignInDataAuthenticationSubscription] | ➖ | N/A | |
two_factor_enabled |
Optional[bool] | ➖ | If two-factor authentication is enabled |