Deleting a Session in Bastion

Delete a bastion session.

    1. Open the navigation menu and click Identity & Security. Click Bastion.
    2. Under List scope, select the compartment where the bastion was created.
    3. Click the name of the bastion that hosts the session you want to delete.
    4. Click Sessions.
    5. Click the Actions menu to the right side of the session that you want to delete, and then select Delete session.
    6. Enter the name of the session.
    7. 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.