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.

otpId
string<uuid>
required

OTP identifier.

Example:

"0197aa0b-5c2c-79fd-8f62-b5f9b3c5d5cb"

code
string
required

OTP code.

Example:

"482910"

newPassword
string
required

New password.

Minimum string length: 8
Example:

"N3wP@ssw0rd!"

Response

No Content