ImpersonateByUsername

class ImpersonateByUsername[source]

Payload for impersonating a user identified by username and tenant.

by: Literal['username'] = 'username'

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

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.

username: str

The username of the user.

tenant_id: str

The id of the tenant of the user.

own_password: str

Your own password.