My REST URL was wrong – I didn’t add the userid to the url. Proper REST URL should be: /wp-json/wp/v2/users/30/ where 30 should be changed with user’s id.
My REST URL was wrong – I didn’t add the userid to the url. Proper REST URL should be: /wp-json/wp/v2/users/30/ where 30 should be changed with user’s id.