title: How to set Strapi user role programmatically?
body: <p>I'm using Strapi 3.6.10.</p>
  <p>When I create user via <code>http://host:1337/auth/local/register</code>, I'm not able to achieve desirable user's role. It's always <code>Authenticated</code>, even if I directly set it to another in my request</p>
  <pre><code>{  
      &quot;username&quot;: &quot;user&quot;,   
      &quot;email&quot;: &quot;user@mail.com&quot;,  
      &quot;password&quot;: &quot;123456789&quot;,   
      &quot;role&quot;: {   
          &quot;_id&quot;: &quot;626eacea45f0a420ccb35094&quot;
      }
  }
  </code></pre>
  <p>I've also tried using API documented in generated by Documentation plugin Swagger - <code>PUT /users/{id}</code>. But if I send request with new role nothing happens to my user's entry</p>