Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This article explains how to delete a user in Bitbucket using Command Line Interface (CLI).

Instructions

Use

...

the removeUser action to delete a user from Bitbucket instance. As an example, the following command deletes a testuser:

Code Block
themeMidnight
--action removeUser --userId "testuser"

In the 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.

...