Update user password using an active session. If the session token does not have an active factor from OTP, magic link, or password, it will return an error.
GET /v1/auth/passwords/session/update
The following table lists the properties of an HTTP request that this action supports.
A successful response returns user_id property and session object associated with the session_token sent in.
Auth Platform API includes all the Auth related features. All Users, Phone Numbers, Emails, and OTPs are associated with an App as the container.
Endpoints only accept App's Secret API keys other than certain endpoints that are used client side or via SDK that accept the public_token.
Authorization: Bearer {api_key}curl \
-X GET https://api.moonkey.fun/v1/auth/users/user_24wFP9pDa9YiMJLun94iKykoZs2 \
-H "Authorization: Bearer sk_test_pRqweh3wvWmJAAVYv7Z0T5iPLzFM4ql0muoyQcjOxGeN3p1r"Required Unique user ID to associate the TOTP with.
1Required if session_jwt not present Session token to identify the user by. Only a valid session will result in a successful password change.
Required if session_token not present Session jwt to identify the user by. Only a valid session will result in a successful password change.