title: Delete a user from a role in jasper server using Rest
body: <p>How to delete a user from a role or disable the user from that particular role in JasperReports Server? But I need the role in the main tenant. It should only be removed from the role (Group)</p>
  
  <p>What I am doing now is a goof up like:</p>
  
  <p>Method: DELETE</p>
  
  <p>URL: <code>http://localhost:8080/reportservice/rest/user/username|TenantID</code></p>
  
  <p>Payload:</p>
  
  <pre><code>&lt;user&gt;
      &lt;tenantId&gt;tenantID&lt;/tenantId&gt;
      &lt;username&gt;{username}&lt;/username&gt;
      &lt;emailAddress&gt;{emailAddress}&lt;/emailAddress&gt;
      &lt;enabled&gt;false&lt;/enabled&gt;
      &lt;externallyDefined&gt;true&lt;/externallyDefined&gt;
      &lt;fullName&gt;{fullName}&lt;/fullName&gt;
      &lt;roles&gt;
          &lt;externallyDefined&gt;false&lt;/externallyDefined&gt;
          &lt;roleName&gt;ROLE_USER&lt;/roleName&gt;
      &lt;/roles&gt;
  &lt;/user&gt;    
  </code></pre>