Changes between Initial Version and Version 1 of Ticket #56166, comment 2
- Timestamp:
- 07/07/2022 08:15:23 AM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #56166, comment 2
initial v1 1 Replying to [comment:1 christinavoudouris]:2 1 I understand, and i have already filtered the list returned by the list-users to only return the users the client has access too. 3 2 In this particular case i'm using the https://developer.wordpress.org/rest-api/reference/users/#retrieve-a-user endpoint … … 10 9 3. Then change the ID in the browser-url to an ID the logged-in user does not have access to. The REST Api still returns the userdata 11 10 12 11 Replying to [comment:1 christinavoudouris]: 13 12 > Hey, I looked up the users endpoint in the docs, and you can include or exclude users by ID: 14 13 > https://developer.wordpress.org/rest-api/reference/users/#list-users