How to retrieve own user sites on network site using REST API
Question
Is there a way to get the sites of user on network site using REST API using that users authentication?
I tried https://www.example.com/main/userdomain/wp-json/wp/v2/users/johnsmith
but it doesn’t return the results in my tests.
For example, say user John Smith is using the REST API. He makes a REST call and it returns a list of sites in the response.
0
multisite, rest-api, user-registration, users
2 years
2020-08-31T23:10:22-05:00
2020-08-31T23:10:22-05:00 0 Answers
68 views
0
Leave an answer