EnrollDataById

class EnrollDataById[source]

Enrol payload referencing the user 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.

role_id: int

The id of the new role for the user.