{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":43658,"path":"security-management/close-session-activity.md","title":"Close Session Flow Action","bundle":null,"doc_type":null,"release":"australia","body":"\n# Close Session Flow Action\n\nCloses a Carbon Black session within the flow.\n\nThe Close Session activity can be used with any flow to close a Carbon Black session.\n\n## Results\n\nPossible results for this flow action are:\n\n|Result|Description|\n|------|-----------|\n|Success|Session closed.|\n|Failure|Session not closed. More error information is available in the flow action output error.|\n\n## Input variables\n\nInput variables determine the initial behavior of the flow action.\n\n|Variable|Description|\n|--------|-----------|\n|api\\_token|Carbon Black API key.|\n|endpoint\\_base|Base URL of the Carbon Black API.|\n|session\\_id|Session identifier.|\n|use\\_mid\\_server|Determines whether the REST activity uses the MID server to interact with Carbon Black or not.|\n\n## Output variables\n\nThe output variables contain data that can be used in subsequent activities.\n\n|Variable|Description|\n|--------|-----------|\n|status\\_code|Determines if the request was successful. If not, displays an HTTP error code and message.|\n|output|API variables|\n\n**Parent Topic:**[Security Operations Carbon Black Integration - Get Running Processes Flow](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/security-management/secops-integration-cb-get-running-processes-workflow.md)\n\n"}}