---
title: interruptTag
description: "SparkSession.interruptTag method in PySpark: Interrupt all operations of this session with the given operation tag."
canonical_url: https://docs.databricks.com/gcp/en/pyspark/reference/classes/sparksession/interruptTag
---

# interruptTag

Interrupt all operations of this session with the given operation tag.

## Syntax

```
interruptTag(tag)
```

## Parameters

| Parameter | Type | Description                         |
| --------- | ---- | ----------------------------------- |
| `tag`     | str  | The tag of operations to interrupt. |

## Returns

`list of str`

List of operation IDs of interrupted operations.

## Notes

There is still a possibility of an operation finishing just as it is interrupted.
