Optionaldevice_ID of the client device. If this does not correspond to a known client device, a new device will be created. The given device ID must not be the same as a cross-signing key ID. The server will auto-generate a device_id if this is not specified.
OptionalidentifierIdentification information for a user
Optionalinitial_A display name to assign to the newly-created device. Ignored if device_id corresponds to a known device.
OptionalmediumWhen logging in using a third-party identifier, the medium of the identifier.
Must be email.
OptionalpasswordRequired when type is m.login.password. The user’s password.
Optionalrefresh_If true, the client supports refresh tokens.
OptionaltokenRequired when type is m.login.token. Part of Token-based login.
The login type being used.
OptionaluserThe fully qualified user ID or just local part of the user ID, to log in.
Request body for POST /login request
See
https://spec.matrix.org/v1.7/client-server-api/#post_matrixclientv3login