Skip to main content
PUT
Update Password

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

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

Update password payload

currentPassword
string
required

Current password

Minimum string length: 8
Example:

"P@ssw0rd!"

newPassword
string
required

New password

Minimum string length: 8
Example:

"N3wP@ssw0rd!"

Response

Password updated successfully.