Checking the permissions and role of an API token

If I have an API token, is there a GET request I can make to return the permissions and assigned role of the API token that was used to make the request?

there will be two GET requests involved to get this information

  1. get information about the user the token is used on behalf of []

  2. get the admin roles of that user []


Is there a GET request to list all users that are assigned an admin role?

As per current APIs, this is only possible by enumerating through all Okta users and then for each user find the assigned admin roles.

1 Like