Hi @livehybrid , First API worked successfully and the User list has been extracted. But fetching the ID from the user list and passing it to the next API throws error. Need some input on the python script. Getting "TypeError: string indices must be integers" error , when checked the response received in in DICT format. for user in users: user_id = user['name'] roles_response = requests.get(f'{controller_url}/controller/api/rbac/v1/users/{user_id}' , headers = headers) roles = roles_response print(f"User: {user['name']}, Roles: {roles}")
... View more