Changes between Initial Version and Version 1 of Ticket #39544, comment 10
- Timestamp:
- 04/17/2017 10:14:47 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #39544, comment 10
initial v1 5 5 6 6 While I certainly don't like `POST wp/v2/users?email=<existing-email-address>` to handle this, I think it would be best if we could figure out a proper way to allow adding existing users through the same endpoint. This would provide parity with user removal (from a site), as it also happens through the same endpoint that is used to delete a user (entirely). 7 Alternatively, we should reconsider managing both adding and removing users to/from a site through `POST/PUT/PATCH wp/v2/users/<id>` in some way instead of using the `CREATE` and `DELETE` endpoints. 7 8 8 9 > However, this still seems like a fairly uncommon use case compared to other user management tasks and should be fine to be addressed later on.