API call - list users by status
回答済みHi, There is an option to list users by status via API? ("Inactive" in my case)
*I'm using Python
Thanks! 🙂
-
So the request should be like this?Thanks!from boxsdk import JWTAuthimport requestsimport jsonfrom boxsdk import Clientconfig = JWTAuth.from_settings_file("<file_path>\\config.json")client = Client(config)users = client.users(user_type='managed')for user in users:if user.status == 'inactive':print('User Login: {1}'.format(user.login))
サインインしてコメントを残してください。
コメント
2件のコメント