This article explains how to delete a user in Bitbucket using Command Line Interface (CLI).
Instructions
- The CLI action:
Using action removeUser allows deleting user from Bitbucket instance.
Refer to the action command given below to delete a user:
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. |
...