Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 413 Bytes

passwordauthenticationmethod-resetpassword-adminprovided-javascript-snippets.md

File metadata and controls

21 lines (15 loc) · 413 Bytes
description
Automatically generated file. DO NOT MODIFY
const options = {
	authProvider,
};

const client = Client.init(options);

const passwordResetResponse = {
    newPassword: 'Cuyo5459'
};

await client.api('/users/6ea91a8d-e32e-41a1-b7bd-d2d185eed0e0/authentication/methods/28c10230-6103-485e-b985-444c60001490/resetPassword')
	.version('beta')
	.post(passwordResetResponse);