---
title: "Labels"
description: "Labels"
url: "https://www.contentstack.com/docs/developers/sdks/content-management-sdk/python/reference/labels"
product: "Contentstack"
doc_type: "guide"
audience:
  - developers
  - admins
version: "current"
last_updated: "2026-06-09"
---

# Labels

## Labels

Labels allow you to group a collection of content within a stack. Using labels you can group content types that need to work together. Read more about [Labels](/docs/developers/create-content-types/about-labels).

## find

The find method retrieves all the existing labels of the stack.

```
import contentstack_management 
client = contentstack_management.Client(authtoken='authtoken')
response = client.stack("api_key").label().find().json()
```

## fetch

The fetch method retrieves information about a particular label of a stack.

```
import contentstack_management 
client = contentstack_management.Client(authtoken='authtoken')
response = client.stack('api_key').label(label_uid).fetch().json()
```

UID of the Label

## create

The Create method creates a new label.

```
data = {
"label": {
"name": "Test",
"parent": [
"label_uid"
],
"content_types": [
"content_type_uid"
]
}
}

import contentstack_management 
client = contentstack_management.Client(authtoken='your_authtoken')
response = client.stack('api_key').label().create(data).json()
```

Data required to create a new label

## update

The Update method is used to update an existing label.

```
data ={
  "label": {
    "name": "Test",
    "parent": [
      "label_uid"
    ],
    "content_types": [
      "content_type_uid"
    ]
  }
}

import contentstack_management 
client = contentstack_management.Client(authtoken='your_authtoken')
response = client.stack('api_key').label("label_uid").update(data).json()
```

The updated data of the label

UID of the label

## Delete

The Delete method is used to remove a specific label from the stack.

```
import contentstack_management 
client = contentstack_management.Client(authtoken='authtoken')
response = client.stack('api_key').label('label_uid').delete().json()
```

UID of the label

## Labels | Python Management SDK | Contentstack

Labels let you group related content and content types that work together within a stack, in the Python Management SDK.