Deleting a Lifecycle Environment

Delete a lifecycle environment to remove it from OS Management Hub.

Note

Before you can delete a lifecycle environment, you must first detach all instances associated with the lifecycle environment.
    1. Open the navigation menu and click Observability & Management. Under OS Management Hub, click Lifecycle environments.
    2. Select the lifecycle environment, and then click Delete.
    3. To confirm the deletion, click Delete.
  • Use the oci os-management-hub lifecycle-environment delete command and required parameters to delete a lifecycle environment.

    oci os-management-hub lifecycle-environment delete --lifecycle-env-id ocid [OPTIONS]

    For a complete list of flags and variable options for CLI commands, see the Command Line Reference.

  • Run the DeleteLifecycleEnvironment operation to delete a lifecycle environment.