Skip to main content
POST
Reset Password

Query Parameters

fields
string

Comma-separated list of fields to include in the response. Supports dot notation for nested projection (e.g. id,name,user.email,trips.route.id). Unknown fields are silently dropped.

Body

application/json

Reset password payload

code
string
required

OTP code

Example:

"482910"

otpId
string<uuid>
required

OTP identifier

Example:

"01961f5a-7b3c-7a6e-b9d0-4a2e8c1f3d5b"

newPassword
string
required

New password

Minimum string length: 8
Example:

"N3wP@ssw0rd!"

Response

Password reset successfully.