title: How to only update Role not the permission through Rally Node RestApi
body: <p>How do I only update the Role but not the Project Permission for a user for a particular project? Below code would update not just the Role but  the Project Permission as well.</p>
  
  <pre><code>//Get TeamMembers for the project
  
  restApi.query({ 
              ref: projectRef + '/TeamMembers',
              limit: Infinity, 
              fetch:['UserName', 'ObjectID', 'Role'],
              scope: { workspace: workspaceRef }
          })
  //updating the Role of the Team Member
  
  
     restApi.update({ 
              ref: /user/userOID,
              data: {Role:RoleName},
              fetch:['UserName', 'ObjectID', 'Role'],
              scope: { workspace: workspaceRef }
          })
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/4bmKK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4bmKK.png" alt="enter image description here"></a></p>