Deleting a Session in Bastion
Delete a bastion session.
- Open the navigation menu and click Identity & Security. Click Bastion.
- Under List scope, select the compartment where the bastion was created.
- Click the name of the bastion that hosts the session you want to delete.
- Click Sessions.
- Click the Actions menu to the right side of the session that you want to delete, and then select Delete session.
- Enter the name of the session.
- Click Delete.
Use the oci bastion session delete command and required parameters to delete a bastion session:
oci bastion session delete --session-id <target_session_ocid> [OPTIONS]
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Run the DeleteSession operation to delete a bastion session.