Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. invoke GET /rest/users?page=X&size=Y
    where X and Y are respectively page number and page size; for each invocation take note of id property for each reported user
  2. invoke POST /rest/users/bulk with headers Accept: application/json, Content-Type: application/json and payload like as follows:

    Code Block
    languagejs
    {
      "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.