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

# ReleaseItem

## ReleaseItem

The "Get all items in a Release" request retrieves a list of all items (entries and assets) that are part of a specific Release and perform CRUD operations on it.

## createMultiple

The "Add multiple items to a Release" request allows you to add multiple items (entries and/or assets) to a Release.

When executing the API request, you need to provide the Release UID.

```
import contentstack;
Contentstack contentstack = new Contentstack.Builder().build();
ReleaseItem releaseItem = contentstack.stack().releaseItem();
Call<ResponseBody> response = releaseItem.createMultiple(requestBody).execute();
if (response.isSuccessful) {
    System.out.println("Response" + response);
}
```

The requestBody to create/add a single Item.

## update

The "Update Release items to their latest versions" request let you update all the release items (entries and assets) to their latest versions before deployment

**Note**: You need to use either the stack's Management Token or the user Authtoken (anyone is mandatory), along with the stack API key, to make a valid Content Management API request.

```
import contentstack;
Contentstack contentstack = new Contentstack.Builder().build();
ReleaseItem releaseItem = contentstack.stack().releaseItem();
Call<ResponseBody> response = releaseItem.update(requestBody).execute();
if (response.isSuccessful) {
    System.out.println("Response" + response);
}
```

The requestBody to create/add a single Item.

## find

The "Get all items in a Release request" retrieves a list of all items (entries and assets) that are part of a specific Release.

```
import contentstack;
Contentstack contentstack = new Contentstack.Builder().build();
ReleaseItem releaseItem = contentstack.stack().releaseItem();
Call<ResponseBody> response = releaseItem.find().execute();
if (response.isSuccessful) {
    System.out.println("Response" + response);
}
```

## delete

The "Remove an item from a Release" request removes one or more items (entries and/or assets) from a specific Release.

```
import contentstack;
Contentstack contentstack = new Contentstack.Builder().build();
ReleaseItem releaseItem = contentstack.stack().releaseItem();
Call<ResponseBody> response = releaseItem.delete().execute();
if (response.isSuccessful) {
    System.out.println("Response" + response);
}
```

## create

The "Add a single item to a Release" request allows you to add an item (entry or asset) to a Release.

When executing the API request, you need to provide the Release UID.

```
import contentstack;
Contentstack contentstack = new Contentstack.Builder().build();
ReleaseItem releaseItem = contentstack.stack().releaseItem();
Call<ResponseBody> response = releaseItem.create(body).execute();
if (response.isSuccessful) {
    System.out.println("Response" + response);
}
```

The requestBody to create/add a single Item.

## addParam

Sets header for the request.

```
import contentstack;
Contentstack contentstack = new Contentstack.Builder().build();
ReleaseItem releaseItem = contentstack.stack().releaseItem();
releaseItem.addParam("key", value);
```

Query parameter key for the request.

Query parameter value for the request.

## addHeader

Sets header for the request.

```
import contentstack;
Contentstack contentstack = new Contentstack.Builder().build();
ReleaseItem releaseItem = contentstack.stack().releaseItem();
releaseItem.addHeader("key", value);
```

Header key for the request.

Header value for the request.

## removeParam

Sets header for the request.

```
import contentstack;
Contentstack contentstack = new Contentstack.Builder().build();
ReleaseItem releaseItem = contentstack.stack().releaseItem();
releaseItem.removeParam("key");
```

Param key for the request.

## deleteReleaseItems

The deleteReleaseItems method removes multiple entries or assets from a specific release in a single request.

```
Example:

import contentstack;
Contentstack contentstack = new Contentstack.Builder().build();
ReleaseItem releaseItem = contentstack.stack().releases("RELEASE_UID").item();
Call<ResponseBody> response = releaseItem.deleteReleaseItems(requestBody).execute();
if (response.isSuccessful) {
    System.out.println("Response" + response);
}
```

Data defining the items to be removed

## deleteReleaseItem

The deleteReleaseItem method removes a single entry or asset from a release.

```
Example:
import contentstack;
Contentstack contentstack = new Contentstack.Builder().build();
ReleaseItem releaseItem = contentstack.stack().releases("RELEASE_UID").item();
Call<ResponseBody> response = releaseItem.deleteReleaseItem(requestBody).execute();
if (response.isSuccessful) {
    System.out.println("Response" + response);
}
```

Data defining the item to remove

## move

The move method allows you to move multiple items within a specific release.

```
Example:
import contentstack;
Contentstack contentstack = new Contentstack.Builder().build();
ReleaseItem releaseItem = contentstack.stack().releases("RELEASE_UID").item();
Call<ResponseBody> response = releaseItem.move(requestBody).execute();
if (response.isSuccessful) {
    System.out.println("Response" + response);
}
```

The data containing the items to be moved.

The release version(2.0)

## ReleaseItem | Java Management SDK | Contentstack

ReleaseItem lets you retrieve and perform CRUD operations on the entries and assets that belong to a release in the Java Management SDK.