My Oracle Support Banner

OCI Compute - How to Delete all Instances in a Compartment using Command Line Interface (CLI) (Doc ID 2966279.1)

Last updated on NOVEMBER 03, 2023

Applies to:

Oracle Cloud Infrastructure Command Line Interface - Version N/A to N/A
Information in this document applies to any platform.


The aim is to automate the deletion of OCI Compute instances using the OCI CLI.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.