Detaching an Instance from an Instance Pool
Detach an instance from an instance pool when you no longer want to manage the instance as part of the pool.
When you detach an instance from a pool, you can choose whether to delete the instance or to retain it. You can also choose whether to replace the detached instance by creating an instance in the pool. If you don't replace the detached instance, then the pool size decreases.
Use the instance-pool-instance detach command to detach an instance from an instance pool.
oci compute-management instance-pool-instance detach --instance-id <INSTANCE_OCID> --instance-pool-id <INSTANCE_POOL_OCID>
For a complete list of flags and variable options for the Compute Service CLI commands, see the command line reference for Compute.
Use the DetachInstancePoolInstance operation to detach an instance from an instance pool.