ImpersonateById

class ImpersonateById[source]

Payload for impersonating a user identified by id.

by: Literal['id'] = 'id'

Discriminator selecting the by-id variant. Optional on the wire; defaults server-side to ‘id’.

confirm_session_termination: bool = False

Set to true to log in even when an active isolated session exists, which will terminate that session.

mode: Literal['impersonate'] = 'impersonate'

Discriminator selecting the impersonation flow.

user_id: int

The id of the user.

own_password: str

Your own password.