title: Allowing a user to update their own profile using the REST API
body: <p>I have been experimenting with the REST API using my logged in user account's token to then make PUT requests on my user record to update some custom attributes.</p>
  
  <p>In order to get to this work I had to grant my user account the manage-users role in Keycloak, prior to this I was getting forbidden responses back.</p>
  
  <p>I can now make the PUT request successfully, and after logging out and logging back in I can see the updated attributes I set in my PUT request.</p>
  
  <p>But I have now allowed my user to be able to manage all users in my realm, which I dont want to allow.</p>
  
  <p>Instead I only want to be able to update my own account details.</p>
  
  <p>I know the user can view their own profile and make changes on the Keycloak provided screens. But for certain custom attributes I want to be able to do this from the client side application they are logged in to, so using the REST API but not granting them a role that could allow them to update other users details.</p>
  
  <p>Is this possible?</p>