How to remove application links in Bitbucket using Command Line Interface (CLI)

This article explains how to remove the application links using Bitbucket Command Line Interface (CLI).

Instructions

  1. Use the removeApplicationLink CLI action to delete the existing application links.

    --action removeApplicationLink --name "localhost Jira"

    or

     --action removeApplicationLink --url "http://localhost:8080"

    In this CLI action, 

    1. --name parameter represents the application name.

    2. --url parameter considers the display URL of the application.

--continue can be used as an optional parameter to continue the processing even after errors are encountered for run actions.


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.