Reset Password
Reset a user's password
Last updated
Was this helpful?
Reset a user's password
Last updated
Was this helpful?
Was this helpful?
mutation {
resetPassword(code: "ZWE3MWQ0ZjktZDJkYS00NGMzLWE1NjQtNjE3NTUyNTJlY2I4OjVyNy00MzYyYzdkNGRmNGM1NzMwNTlmOA==", newPassword:"myStrongPassword") {
success
message
}
}{
"data": {
"resetPassword": {
"success": true,
"message": "Your password was successfully updated!"
}
}
}curl --location --request POST 'https://production.suggestic.com/graphql' \
--header 'Authorization: Token <API-Token>' \
--header 'Content-Type: application/json' \
--data-raw '{"query":"mutation {\n resetPassword(code: \"<reset-code-b64>\" newPassword: \"<new-password>\") {\n success message\n }\n}","variables":{}}'