Roles API only lists custom roles but not standard roles

When calling https://okta_domain/api/v1/iam/roles/ it will respond the custom Admin roles but not the built in roles such as APP_ADMIN. I suppose they are also called standard roles.

Is there another API or another trick to get information about built in roles?

1 Like

Really great question, I’d love to know also!

For future folks, it looks like the standard roles name might be just base32 encoded in the URL for the ID.

ex. APP_ADMIN = IFIFAX2BIRGUSTQ=

1 Like