Between moderator and guest

How to create moderator and guest with web API?