Restoring aall users and roles

So I wanna restore my users and roles that I got using this URI:
GET http://Administrator:Mypasword@
I’m getting a JSON with a list of my users and roles, now I would like to restore this users and roles retrieved with something like:
PUT http://Administrator:Mypasword@
also attaching the JSON on the body on postman, is that possible for all users?