IRPCLoginsAdmin.ResetPassword

View as Markdown

Administration API / specialized admin no session

Completes the "forgot password" flow: sets a new password for a login with the values from the password reset link.

ServiceServer login accounts MFiles.IRPCLoginsAdmin
gRPC method/MFiles.IRPCLoginsAdmin/ResetPassword
HTTP (mf-http-grpc)POST /grpc/v1/reset-password
RequestResetPasswordRequest
ResponseResetPasswordResponse
Book and levelAdministration API, specialized
Kindadmin
SessionNot needed: the call can be made before logging in.
Idempotentno
Returns metadata structure versionno
Streamingnone (unary)

Remarks

Request: ResetPasswordRequest

Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

FieldTypeDescription
account_namestringThe name of the login account whose password should be reset.
expiration_timestringThe time when this password request expires.
reset_password_hashstringThe hash used to confirm that this is a valid password reset.
new_passwordstringThe new password for the login account.
vault_guidstringOptional vault for servers that use vault login accounts.
password_formatPasswordFormatSet PASSWORD_FORMAT_SEE_OTHER_PARAMS. The other values, including the default, are deprecated.Values: PASSWORD_FORMAT_MD5_HASH_ENCRYPTED (0), PASSWORD_FORMAT_PLAIN_TEXT (1), PASSWORD_FORMAT_SEE_OTHER_PARAMS (2).
password_encryptionPasswordEncryptionEncryption used for the passwords in transit.Values: PASSWORD_ENCRYPTION_RC4 (0), PASSWORD_ENCRYPTION_UNENCRYPTED (1), PASSWORD_ENCRYPTION_AES256 (2).
password_unhashedboolTrue if new_password is the password itself (possibly encrypted), not a hash. If false, the hash must use password_hash_algorithm_desired.
password_hash_algorithm_desiredPasswordHashAlgorithmAlgorithm to be used to hash the new password in the database.Values: PASSWORD_HASH_ALGORITHM_MD5 (0), PASSWORD_HASH_ALGORITHM_UNDEFINED (1), PASSWORD_HASH_ALGORITHM_PBKDF2_WITH_SHA512_AND100000_ITERS (2).
new_password_saltstringThe salt of a hashed new_password. Ignored when password_unhashed is true; the server then generates the salt.

Response: ResetPasswordResponse

No fields.