How can we create custom Roles with the API

Hi,
I am using free plan to test the apis available. When we invite a user under account, it get’s ‘Administrator’ role by default.
How can I create custom Role with minimum access ?
Can it be created from the dashboard or API?
I couldn’t even find what all roles available for the account on the dashboard, I know it can accessed via apis, but no UI available to check those.

Thanks

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.