In user table when I am trying to assign a role to user, it is showing public and authenticated option only. How to select ‘author’/‘editor’ or any other to user through admin panel and also through api?
You are confusing Admin roles with user-permissions roles.
Thanks. I got this.