This article explains how to delete a user in Bitbucket using Command Line Interface (CLI).
Instructions
Using Use action removeUser allows for deleting user from Bitbucket instance.
Code Block theme Midnight --action removeUser --userId "testuser"
In above CLI action,
--userId takes the username of the user in Bitbucket.
...
Info |
---|
It is recommended to test this scenario in a non-production environment or run the action with the --simulate parameter to verify the behavior before deploying. |
...