Is there a way to unlock (unhack) a PIN without resetting it?

Version 1
    This document was generated from CDN thread

    Created by: Jon Finke on 02-12-2011 12:30:33 PM
    Our telecom manager wants a way for folks to be able to unlock their credential (which got locked via bad pin attempts), without resetting the PIN itself.  We are running 7.1.3.68.
     
    I tried sending my normal pin reset code with the new pin ommitted:
    https://xxxx.rpi.edu/vmrest/users/801373ed-732f-4ddc-a776-db8628e4c4f8/credential/pin
    <Credential><Hacked>false</Hacked><HackCount>0</HackCount></Credential>

     
    and got the following in response:
    <ErrorDetails><errors>
       <code>IMS_ERROR</code>
       <message>There is no credential value for the given credential name</message>
    </errors></ErrorDetails>

    Subject: RE: Is there a way to unlock (unhack) a PIN without resetting it?
    Replied by: Jeff Lindborg on 05-02-2012 01:14:06 PM
    This should be possible - I just send the same PUT command with the XML looking like this:

    <Credential><Locked>0</Locked><Hacked>0</Hacked><HackCount>0</HackCount></Credential>

    note the use of 0 instead of "false" - the locked shouldn't be necessary but on my test app it's included in the larger "clear locked account" method...

    Subject: RE: Is there a way to unlock (unhack) a PIN without resetting it?
    Replied by: Jon Finke on 14-02-2012 05:34:28 PM
    Thanks for the info! - I will give it a try next time the CUPI interface floats to the top of my project queue.