@ultirequiem/tixte
    Preparing search index...

    Interface AccountDetails

    Response structure for account details endpoint

    interface AccountDetails {
        data: {
            admin: boolean;
            avatar?: string;
            beta: boolean;
            email: string;
            email_verified: boolean;
            id: string;
            last_login: string;
            mfa_enabled: boolean;
            phone?: string;
            pro: boolean;
            staff: boolean;
            upload_region: string;
            username: string;
        };
        success: boolean;
    }
    Index
    data: {
        admin: boolean;
        avatar?: string;
        beta: boolean;
        email: string;
        email_verified: boolean;
        id: string;
        last_login: string;
        mfa_enabled: boolean;
        phone?: string;
        pro: boolean;
        staff: boolean;
        upload_region: string;
        username: string;
    }

    Account data object

    Type Declaration

    • admin: boolean

      Whether the user is an administrator

    • Optionalavatar?: string

      URL to user's avatar image (optional)

    • beta: boolean

      Whether the user has beta access

    • email: string

      User's email address

    • email_verified: boolean

      Whether the email has been verified

    • id: string

      Unique user identifier

    • last_login: string

      Timestamp of last login

    • mfa_enabled: boolean

      Whether multi-factor authentication is enabled

    • Optionalphone?: string

      User's phone number (optional)

    • pro: boolean

      Whether the user has a pro subscription

    • staff: boolean

      Whether the user is a staff member

    • upload_region: string

      Default region for uploads

    • username: string

      Username of the account

    success: boolean

    Indicates if the request was successful