We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

REST API - Force Password Change?

Accepted answer
24
Views
2
Comments
edited May 30, 2018 8:33PM in Integrations and APIs 2 comments

Content

Hi all,

I am using the REST API, and sending a small snippet of JSON using a PATCH request to update the user's password, and then force them to enter a new one upon logging in. The first part of that goal is working, but the "force password" portion does not take effect. Does anyone have any guidance on what I might be doing incorrectly?

Thanks a lot, 
Carl

Version

services/rest/connect/latest/accounts/

Code Snippet

             {
"newPassword":"newpasswordhere",
        "attributes": {
         "forcePasswordChange": true
}
} 
        
Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!