Deleting a Bastion
Delete a bastion that's no longer necessary.
When you delete a bastion that has active sessions, the sessions are terminated.
- On the Bastions list page, find the bastion that you want to work with. If you need help finding the list page or the bastion, see Listing Bastions.
- From the for the bastion, select Delete bastion.
- Enter the name of the bastion you want to delete.
- Select 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.