What is the proper way to structure a RESTful resource for approving or rejecting a user?
This resource is meant to review an user by administrator. Administrator can approve or reject a user request. The request needs to have user_id and updated_status that maybe is approved or rejected.
The two options that I have are:
1) Classified it to two apis:
PUT api/users/:user_id/approve/
PUT api/users/:user_id/reject/
OR
2)
PUT api/users/:user_id/review/
-status passed through request body
Any advice or suggestion will be greatly appreciated.