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