Bulk delete users and customers using Postman and CSV file in Jira Cloud

Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.

Summary

On Jira Cloud, at the moment, we can't bulk delete users or portal customers via user management. The intent of this article is to provide admins with a workaround to remove accounts in bulk.

Solution

Configure Postman to bulk delete accounts

1. Download and install the Postman app. 2. Create an API token that will be needed for Authentication. 3. Create the CSV file that contains the users or portal customers you want to delete.

a) Export users from the user management section.

The Atlassian administration panel showing the Users page. The left-hand navigation menu highlights the Users section under USER MANAGEMENT. The main panel displays a list of users, their last activity, status, and available actions.

b) Export portal customers from the Jira Service Management section.

The Atlassian administration panel displays the Portal customers page within Jira Service Management. The left-hand navigation menu highlights Jira Service Management.

4. Create a CSV file and add the user IDs or usernames of the accounts that need to be removed. A header also needs to be added to the column; this will be used as the variable in Postman.

5. In Postman create a New collection.

6. Once the collection is created, click on Add a request.

7. To create a delete request, you will need to add the following API, changing the URL to your instance URL. The variable in between the curly brackets needs to be the one set in your CSV file. https://YOUR-SITE.atlassian.net/rest/api/3/user?accountId={{userID}} You will also need to set Authorization to Basic Auth, add your user and token, and finally save the request.

Postman showing a DELETE request setup with Basic Auth, ready to be sent.

8. Click on the 3 dots next to the collection name that was created and select Run collection.

Postman context menu for a collection, with the Run collection option highlighted.

9. In the Run Order section, we will select the Delete request that was created, and in the Run configurationData, we will select the CSV file we have created with the users/customers to be deleted. We will see the number of times that the request will run in the Iterations section. Click on Run collection.

Postman Collection Runner interface, configured to run Testcollection with data from users.csv three times.

10. In the Summary window you will see all the iterations that have ran and in the Console, you will see the API calls with the ids that were sent. Once this has finished log into the instance and verify that the users and customers have been deleted.

Postman Collection Runner results showing three successful DELETE requests with 204 No Content responses. The console displays the full URLs used in each iteration.

Updated on April 11, 2025

Still need help?

The Atlassian Community is here for you.