When trying to restore a deleted user through it's ID, an error 400 is received.
The error occurs due to the JSON parser's inability to properly convert data into a DTO.
A valid entity body must be provided to enable successful restoration of the user. The auto-generated sample in Swagger is insufficient for this purpose.
In order to restore the deleted user, please do the following:
Go to swagger > Deleted > GET /v4/Deleted/Users/{id}.
Enter the id of the deleted user and execute. This will provide the details of the deleted user as a response.
Copy this response body (details of the deleted user) and go to Swagger > Deleted POST /v4/Deleted/Users/{id}/Restore > Try it out.
Then use the above data in the request body and enter the details of the user to restore (fetched in the previous step).
Click Execute > It will then restore the deleted user.
© 2025 One Identity LLC. ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center