Does anyone know if it’s possible to restore users from trash with the admin API? I can create and modify my users just fine, but if I try setting status to “active” on a user in trash it still keeps them as pending deletion albeit with a status of “active” now. I’ve gone through the doc page for it and I can’t find anything pertaining to it. Any help would be appreciated. Thanks!
Thanks for your question! No, it’s not possible to restore users from the Admin API today. Once a user is moved to the Trash, the only way to restore the user is from the Duo Admin Panel. They will remain in a Pending Deletion status in the trash for seven days.