How to set Strapi user role programmatically?

I still cant comprehend why you wouldnt be able to create a user with a role by passing the role id.

Super annoying.