ImpersonateById¶ class ImpersonateById[source]¶ Payload for impersonating a user identified by id. by: Literal['id']¶ Discriminator selecting the by-id variant. Optional on the wire; defaults server-side to ‘id’. user_id: int¶ The id of the user. mode: Literal['impersonate']¶ Discriminator selecting the impersonation flow. own_password: str¶ Your own password. confirm_session_termination: bool¶ Set to true to log in even when an active isolated session exists, which will terminate that session.