THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- invoke
GET /rest/users?page=X&size=Y
where X and Y are respectively page number and page size; for each invocation take note ofid
property for each reported user invoke
POST /rest/users/bulk
with headers
and payload like as follows:Accept: application/json
, Content-Type: application/jsonCode Block language js { "operation":"DELETE", "targets":[ "100", "101", "107" ] }
Rather then deleting all users, a restricting search condition can be used by replacing the first invocation above with GET /rest/users/search?fiql=id%3Dlt%3D150&page=X&size=Y
More information by consulting More information on the REST API reference.