The POST /environments/{environmentId}/users/{userId}/password endpoint is called by an administrator or an application to unlock a user’s password. This operation uses the application/vnd.pingidentity.password.unlock+json custom media type as the content type in the request header.

The sample shows the POST /environments/{environmentId}/users/{userId}/password operation to unlock a password for the user identified by the user ID and environment ID.

This POST request does not require any attribute values in the request body. It returns a 200 OK message when successful and generates a PASSWORD.UNLOCKED event.