API Command: terminate_session

The terminate_session command terminates a session that is in progress.

The command API is an authenticated API. For instructions on using authenticated APIs using OAuth, see Authenticate to the PA API. The API account used to issue this command must have full access to the command API.

Required Parameter for terminate_session

lsid=[string] The unique ID representing the session you wish to terminate.

XML Response for terminate_session Query

<success> Returns a message of Successfully terminated if the termination was successful.
<error> Returns an error message if the termination was not successful.

Query Examples: terminate_session

Session da4b510978a541d49398e88c66e28475 terminated
  • https://access.example.com/api/command?action=
    terminate_session&lsid=da4b510978a541d49398e88c66e28475