login

@POST(value = "v1/users/login")
abstract suspend fun login(@Body body: LoginDto): AuthenticatedUserDto

Attempts to log in a user with the provided LoginDto.

Return

The AuthenticatedUserDto representing the authenticated user.

Parameters

body

The LoginDto containing login credentials.