What's the RESTFul pattern for enabling and disabling a system user.
Example: a DELETE request to /users/123 and PATCH/UPDATE request to /users/123
/users/123
Or should I use /user/enable/123 using PUT and /user/disable/123 using DELETE?
/user/enable/123
/user/disable/123
Aucun commentaire:
Enregistrer un commentaire