The Close action in the Python Script for API Task package closes the session.

Settings

The following settings are available in this action:

Python session
The name of the session to close. The name must be the same as the one used in the Open action.
  • Session name: Enter the name manually in the text box or select the string variable that holds the session name.
  • Variable: Select the session variable that you configured in the Open action.