You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# An HTTP status code of 400 with a general error code of [TrustTokenRequired] indicates that a Trust Token is required to make a POST request to this API.
224
224
#
225
-
# @param login_id [string] The loginId of the User that you intend to change the password for.
225
+
# @param login_id [string] The loginId (email or username) of the User that you intend to change the password for.
226
226
# @return [FusionAuth::ClientResponse] The ClientResponse object.
227
227
defcheck_change_password_using_login_id(login_id)
228
228
start.uri('/api/user/change-password')
229
-
.url_parameter('username',login_id)
229
+
.url_parameter('loginId',login_id)
230
+
.get
231
+
.go
232
+
end
233
+
234
+
#
235
+
# Check to see if the user must obtain a Trust Request Id in order to complete a change password request.
236
+
# When a user has enabled Two-Factor authentication, before you are allowed to use the Change Password API to change
237
+
# your password, you must obtain a Trust Request Id by completing a Two-Factor Step-Up authentication.
238
+
#
239
+
# An HTTP status code of 400 with a general error code of [TrustTokenRequired] indicates that a Trust Token is required to make a POST request to this API.
240
+
#
241
+
# @param login_id [string] The loginId of the User that you intend to change the password for.
242
+
# @param login_id_types [Array] The identity types that FusionAuth will compare the loginId to.
243
+
# @return [FusionAuth::ClientResponse] The ClientResponse object.
0 commit comments