Deleting a Bastion
Delete a bastion that's no longer necessary.
When you delete a bastion that has active sessions, the sessions are terminated.
- Open the navigation menu and click Identity & Security. Click Bastion.
- Under List scope, select the compartment where the bastion was created.
- Click the Actions menu to the right side of the bastion, and then select Delete bastion.
- Enter the name of the bastion to delete.
- Click Delete.
Use the oci bastion bastion delete command and required parameters to delete a bastion:
oci bastion bastion delete --bastion-id <bastion_ocid> [OPTIONS]
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Run the DeleteBastion operation to delete a bastion.