Update Users

Add the standard HTTP method PUT for the User model in the API.

The user update scheme is very similar to the creation scheme. The differences between these two actions are:

  • The update action responds to a PUT/PATCH request.
  • Only a connected user should be able to update their information, which means that we will have to force the user to authenticate. We will discuss this later.

Get hands-on with 1200+ tech skills courses.