Close Session Flow Action

reference australia Updated Sep 10, 2026 1 min read close-session-activity.md
Raw file servicenow.com

Closes a Carbon Black session within the flow.

The Close Session activity can be used with any flow to close a Carbon Black session.

Results

Possible results for this flow action are:

Result Description
Success Session closed.
Failure Session not closed. More error information is available in the flow action output error.

Input variables

Input variables determine the initial behavior of the flow action.

Variable Description
api_token Carbon Black API key.
endpoint_base Base URL of the Carbon Black API.
session_id Session identifier.
use_mid_server Determines whether the REST activity uses the MID server to interact with Carbon Black or not.

Output variables

The output variables contain data that can be used in subsequent activities.

Variable Description
status_code Determines if the request was successful. If not, displays an HTTP error code and message.
output API variables

Parent Topic:Security Operations Carbon Black Integration - Get Running Processes Flow

Search documentation
Search document titles and file paths on the australia branch