Using API for bulk user operations
search cancel

Using API for bulk user operations

book

Article ID: 375687

calendar_today

Updated On:

Products

CASB Gateway Advanced CASB Securlet SAAS CASB Securlet IAAS CASB Security Standard

Issue/Introduction

Using the Management API for bulk user operations does not work as well as for individual operations

Users may be duplicated or missing in the operations.

Resolution

The following filters can be added to better manage bulk operations. Follow the API: User Management documentation, then these following filters can also be used.

order_by=email
This will help organize multiple users and reduce the amount of duplicate users or missed users

is_active=true
Helps filter out users that are deactivated

created_by=
Focuses on users created by a specific method. View the user in CloudSOC to see how the user was created

email__endswith=<user email domain>  Example: [email protected]
This allows to user a wildcard to get all users in a specific domain. Note this filter uses a double underscore.