{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-bastion/json-schema/microsoft-azure-bastion-bastion-session-delete-result-schema.json",
  "title": "BastionSessionDeleteResult",
  "description": "Response for DisconnectActiveSessions.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-bastion-bastionhosts-api-openapi.yml#/components/schemas/BastionSessionDeleteResult",
  "properties": {
    "value": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/BastionSessionState"
      },
      "description": "List of sessions with their corresponding state."
    },
    "nextLink": {
      "type": "string",
      "description": "The URL to get the next set of results."
    }
  },
  "$defs": {
    "BastionSessionState": {
      "properties": {
        "sessionId": {
          "type": "string",
          "readOnly": true,
          "description": "A unique id for the session."
        },
        "message": {
          "type": "string",
          "readOnly": true,
          "description": "Used for extra information."
        },
        "state": {
          "type": "string",
          "readOnly": true,
          "description": "The state of the session. Disconnected/Failed/NotFound."
        }
      },
      "description": "The session state detail for a target."
    }
  }
}