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

# Release

## Release

You can define a “[Release](https://www.contentstack.com/docs/headless-cms/about-releases)” as a set of entries and assets that needs to be deployed (published or unpublished) all at once to a particular environment.

## clone

The clone method allows you to make a copy of a specific release in the stack.

```
data = {
       "release": {
           "name": "New Release Name",
           "description": "2018-12-12"
       }
   }
import contentstack_management
client = contentstack_management.Client(authtoken='your_authtoken')
result = client.stack('api_key').releases('release_uid').clone(data).json()
```

Data you want to send in the request body

## create

The create method allows you to create a new release in your stack. To add entries/assets to a release, you need to provide the UIDs of the entries/assets in items in the request body.

```
data = {
       "release": {
           "name": "Release Name",
           "description": "2018-12-12",
           "locked": false,
           "archived": false
       }
   }
import contentstack_management
client = contentstack_management.Client(authtoken='your_authtoken')
result = client.stack('api_key').releases().create(data).json()
```

Data you want to send in the request body

## delete

The delete method removes a specific release from your stack.

```
import contentstack_management
client = contentstack_management.Client(authtoken='your_authtoken')
result = client.stack('api_key').releases('release_uid').delete().json()
```

UID of the release

## deploy

The deploy method will publish/unpublish all the items of the release to the specified environment.

```
data = {
          "release": {
           "environments": [
               "development"
           ]
       }
   }
import contentstack_management
client = contentstack_management.Client(authtoken='your_authtoken')
result = client.stack('api_key').releases('release_uid').deploy(data).json()
```

Data you want to send in the request body

## fetch

The fetch method retrieves the details of a specific release from the stack.

```
import contentstack_management
client = contentstack_management.Client(authtoken='your_authtoken')
result = client.stack('api_key').releases('release_uid').fetch().json()
```

UID of the release

## find

The find method retrieves the details of all the releases in the stack.

```
import contentstack_management
client = contentstack_management.Client(authtoken='your_authtoken')
result = client.stack("api_key").releases().find().json()
```

## update

The update method allows you to update the details of a Release.

```
data = {
       "release": {
           "name": "Release Name",
           "description": "2018-12-22"
       }
   }
import contentstack_management
client = contentstack_management.Client(authtoken='your_authtoken')
result = client.stack('api_key').releases("release_uid").update(data).json()
```

The updated information for the Release

UID of the release

## Release | Python Management SDK | Contentstack

Release is a set of entries and assets deployed together to an environment in one action, in the Contentstack Python Management SDK.