Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #39544, comment 10


Ignore:
Timestamp:
04/17/2017 10:14:47 AM (8 years ago)
Author:
flixos90
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #39544, comment 10

    initial v1  
    55
    66While 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).
     7Alternatively, 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.
    78
    89> 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.