Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Delete a host - Developer Tools console

Delete a host

You can use the Developer Tools console or the delete-host command in the AWS Command Line Interface (AWS CLI) to delete a host.

Delete a host (console)

To delete a host

  1. Open the Developer Tools console at https://console.aws.amazon.com/codesuite/settings/connections.

  2. Choose the Hosts tab. In Name, choose the name of the host you want to delete.

  3. Choose Delete.

  4. Enter delete in the field to confirm, and then choose Delete.

    Important

    This action cannot be undone.

Delete a host (CLI)

You can use the AWS Command Line Interface (AWS CLI) to delete a host.

To do this, use the delete-host command.

Important

Before you can delete a host, you must delete all connections associated with the host.

After you run the command, the host is deleted. No confirmation dialog box is displayed.

To delete a host
  • Open a terminal (Linux, macOS, or Unix) or command prompt (Windows). Use the AWS CLI to run the delete-host command, specifying the Amazon Resource Name (ARN) of the host that you want to delete.

    aws codeconnections delete-host --host-arn "arn:aws:codeconnections:us-west-2:account_id:host/My-Host-28aef605"

    This command returns nothing.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.