Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

how can i list and delete users from a especific 'user directory' in Atlassian Bitbucket v7.21.4

mario truber July 20, 2023

i had a security problem on my enviroment bitbucket, some users created accounts in internal user directory. I need to list all internal users and delete, but i cant find this function on bitbucket api.

some one can help me?

2 answers

2 accepted

0 votes
Answer accepted
mario truber July 25, 2023

this api version have no 'filter' to parameter 'directoryName' in user call.


i had to proccess all data user manually to find all userkeys with 'directoryName=Bitbucket Internal Directory' because is'nt a valid parameter to bitbucket API


sucks, but works.

mario truber July 25, 2023

@atlassian we need a better functions to this (all atlassian products) API. :D

0 votes
Answer accepted
mario truber July 25, 2023



the jira server is my origianl 'user directory', all account created in jira its ok, but because a security fail, some clients got create internal accounts and i need to make a massive delete of internal accounts, but i cant find this api result 'directory' of accounts.

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events