Versions Compared

Key

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

This article explains how to delete a Bitbucket repository using Command Line Interface

...

  1. deleteRepository action deletes a single repository in from a Bitbucket project.
  2. Refer to the below-given sample action command to delete a repository in a project.:

    Code Block
    themeMidnight
    bitbucketLocal --action deleteRepository --project "slug" --repository "repo-2"

    Here bitbucketLocal is the name used for the Bitbucket instance in acli.properties file. 

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.

...