Delete all users on Development or Test environments

2 Years Ago


Sometimes hundreds of users need to be created in the development and testing environments for testing purposes, which then need to be manually removed. Now, you can delete multiple users in batch, which share defined parameters. To do so, follow the steps described below:

Applies to

Bizagi 11.2.2


1. Users with dependencies to any of the following database tables cannot be deleted:

  • Business entities

2. To delete useres, your must use an application to run Rest services. We recommend using the Google Chrome extension Postman.

3. You must have a Client Id. Generate ir through your Work portal, Use this link to get it.

What you need to do

1. Enter to the Postman Chrome extension or the desktop application.

2. On the left side of the bar select the verb DELETE

3. On the text field, type the URL with the following structure:
Suppose that the server you are using is called "servername" and the Bizagi project that you want to delete users from is called "project-name", then the URL structure is:

4. Select the Authorization tab and follow these steps:
On the type dropdown list, select OAuth 2.0
On the Add authorization data to drop down menu, select Request Headers.
On the Access Token field, type the client Id generated in Bizagi's Work Portal.

5. Select the Body tab and follow these steps:
On the checkboxes section, select the x-www-form-urlencoded one
On the Key table, add two new keys and its corresponding values:

  • Prefix: determine the users to be deleted whose name begins with the typed values (e.g userprefix).
  • Domain: define the domain of the users to delete (it is set on the Bizagi Work Portal user management basic information).

6. Finally, at the bottom left of the window on the drop-down list select text. Then click Send at the top right of the window.

The message that appears when the operation is succesfully  completed is "Operation successful. Total users deleted: (number of users deleted)".
In the Status field at the bottom right of the window, Postman  returns one of three values:

  • 200 OK: means that the operation was successful
  • 403 FORBIDDEN: Means that the environment is production, then users cannot be deleted.
  • 500INTERNALERROR: Means that during the operation an error occurred


Rate this Article:


Last Modified:2 Years Ago
Last Modified By: JorgeR
Level: Intermediate
Rated 3 stars based on 4 votes.
Article has been viewed 2.1K times.