Retrieve a Reset Password Token with specified identifier string.
ResetPasswordToken was retrieved successfully.
Unauthorized access, invalid credentials were used.
Access forbidden.
Resource was not found.
const token = await api.customerAuthentication.getResetPasswordToken({id: 'my-first-id'}); console.log(token.fields.credential);
{- "token": "string",
- "username": "string",
- "credentialId": "string",
- "expiredTime": "2019-08-24T14:15:22Z",
- "_links": [
- {
- "rel": "self",
- "href": "string"
}
]
}