---
title: removeTag
description: "SparkSession.removeTag method in PySpark: Remove a tag previously added to be assigned to all the operations started by this thread in this session. No-op if the tag was not previously added."
canonical_url: https://docs.databricks.com/gcp/en/pyspark/reference/classes/sparksession/removeTag
---

# removeTag

Remove a tag previously added to be assigned to all the operations started by this thread in this session. No-op if the tag was not previously added.

## Syntax

```
removeTag(tag)
```

## Parameters

| Parameter | Type | Description                                                              |
| --------- | ---- | ------------------------------------------------------------------------ |
| `tag`     | str  | The tag to be removed. Cannot contain ',' (comma) or be an empty string. |

## Returns

`None`
