Skip to main content
POST
Reset a user password (admin)

Authorizations

Authorization
string
header
required

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

Body

application/json
userId
string
required

ObjectId of the user whose password is being reset.

newPassword
string
required

Replacement password (plain text over TLS); hashed before storage and immediately invalidates the previous credential.

Response

Password reset successfully

Generic single-message success envelope used for reset-password / reorder / etc.

message
string
required