---
updatedAt: 2026-09-24T20:53:29.000Z
agentTools:
  projectIndex: https://developer.intellistack.com/llms.txt
---

# Cancel multiple running sessions

# OpenAPI definition

```json
{
  "components": {
    "schemas": {
      "BulkCancelFailedItemDto": {
        "properties": {
          "reason": {
            "description": "The reason the cancel failed",
            "type": "string"
          },
          "sessionId": {
            "description": "The session ID that failed to cancel",
            "type": "string"
          }
        },
        "required": [
          "sessionId",
          "reason"
        ],
        "type": "object"
      },
      "BulkCancelSessionsBodyDto": {
        "properties": {
          "sessionIds": {
            "description": "List of session IDs to cancel (max 100)",
            "example": [
              "00000000-0000-4000-8000-000000000002"
            ],
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "sessionIds"
        ],
        "type": "object"
      },
      "BulkCancelSessionsResponseDto": {
        "properties": {
          "failed": {
            "description": "Sessions that failed to cancel with reasons",
            "items": {
              "$ref": "#/components/schemas/BulkCancelFailedItemDto"
            },
            "type": "array"
          },
          "succeeded": {
            "description": "Session IDs that were successfully cancelled",
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "succeeded",
          "failed"
        ],
        "type": "object"
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "bearerFormat": "JWT",
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "contact": {},
    "description": "Workflows Sessions",
    "title": "Workflows Sessions",
    "version": "1.0"
  },
  "openapi": "3.0.0",
  "paths": {
    "/v1/sessions/batch-cancel": {
      "post": {
        "operationId": "SessionsController_cancelSessionsBulk_v1",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BulkCancelSessionsBodyDto"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BulkCancelSessionsResponseDto"
                }
              }
            },
            "description": "Bulk cancel results"
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Cancel multiple running sessions",
        "tags": [
          "Sessions"
        ]
      }
    }
  },
  "servers": [
    {
      "description": "US Production Server",
      "url": "https://api-us.streamline.intellistack.ai"
    },
    {
      "description": "Canada Production Server",
      "url": "https://api-ca.streamline.intellistack.ai"
    }
  ]
}
```