EnrollDataByUsername

class EnrollDataByUsername[source]

Enrol payload referencing the user by username and tenant.

by: Literal['username']

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

username: str

The username of the user.

tenant_id: str

The id of the tenant of the user.

role_id: int

The id of the new role for the user.