---
title: "Releases"
description: "Releases"
url: "https://www.contentstack.com/docs/developers/sdks/content-management-sdk/java/reference/releases"
product: "Contentstack"
doc_type: "guide"
audience:
  - developers
  - admins
version: "current"
last_updated: "2026-09-20"
---

# Releases

## Releases

The Releases class provides methods to create, manage, and deploy content releases that group entries and assets for coordinated publishing across environments.

**Note:** Pass the release\_version parameter as 2.0 in the Headers section if you have the latest release enabled for your organization. Reach out to our support team for more information.

## create

The create method creates a new release in the stack.

```
Example:
import contentstack;
Contentstack contentstack = new Contentstack.Builder().build();
Release release = contentstack.stack().releases();
Call<ResponseBody> response = release.create(requestBody).execute();
if (response.isSuccessful()) {
    System.out.println("Release created successfully.");
}
```

The requestBody to create a release.

## update

The update method modifies the name, description, or schedule of an existing release.

```
Example:
import contentstack;
Contentstack contentstack = new Contentstack.Builder().build();
Call<ResponseBody> response = contentstack.stack().releases().update().execute();
if (response.isSuccessful()) {
    System.out.println("Release updated successfully.");
}
```

Request body to update a release

## fetch

The fetch method retrieves details of a specific release using its UID.

```
Example:
import contentstack;
Contentstack contentstack = new Contentstack.Builder().build();
Call<ResponseBody> response = contentstack.stack().releases("RELEASE_UID").fetch().execute();
if (response.isSuccessful()) {
    System.out.println("Fetched release.");
}
```

## clone

The clone method creates a duplicate of an existing release with a new name or description.

```
Example:
import contentstack;
Contentstack contentstack = new Contentstack.Builder().build();
Call<ResponseBody> response = contentstack.stack().releases("RELEASE_UID").clone(requestBody).execute();
if (response.isSuccessful()) {
    System.out.println("Release cloned successfully.");
}
```

Request body to clone a release

## delete

The delete method removes a specific release from the stack

```
Example:
import contentstack;
Contentstack contentstack = new Contentstack.Builder().build();
Call<ResponseBody> response = contentstack.stack().releases("RELEASE_UID").delete().execute();
if (response.isSuccessful()) {
    System.out.println("Release deleted successfully.");
}
```

## deploy

The deploy method deploys all entries and assets from a release to specified environments and locales.

```
Example:
import contentstack;
Contentstack contentstack = new Contentstack.Builder().build();
Call<ResponseBody> response = contentstack.stack().releases("RELEASE_UID").deploy(requestBody).execute();
if (response.isSuccessful()) {
    System.out.println("Release cloned successfully.");
}
```

The requestBody to deploy a release.

## addParam

The addParam method sets a query parameter for the release request.

```
Example:
import contentstack;
Contentstack contentstack = new Contentstack.Builder().build();
Release release = contentstack.stack().release();
release.addParam("key", value);
```

Key of the query parameter

Value of the query parameter

## addHeader

The addHeader method sets a header for the release request.

```
Example:
import contentstack;
Contentstack contentstack = new Contentstack.Builder().build();
Release release = contentstack.stack().release();
release.addHeader("key", value);
```

Key of the header

Value of the header

## removeParam

The removeParam method removes a previously set query parameter from the release request.

```
Example:
import contentstack;
Contentstack contentstack = new Contentstack.Builder().build();
Release release = contentstack.stack().release();
release.removeParam("key");
```

Key of the query parameter to remove

## Releases | Java Management SDK | Contentstack

Releases lets you create, manage, and deploy groups of entries and assets for coordinated publishing across environments in the Java Management SDK.