---
title: "Update Roll"
method: PUT
path: "/ocean/aws/ecs/cluster/{oceanClusterId}/roll/{ROLL_ID}"
tags: ["Ocean ECS"]
---

# Update Roll

`PUT /ocean/aws/ecs/cluster/{oceanClusterId}/roll/{ROLL_ID}`

## Request

- Base URL: `https://api.spotinst.io`
- URL: `https://api.spotinst.io/ocean/aws/ecs/cluster/{oceanClusterId}/roll/{ROLL_ID}`
- Auth: HTTP bearer

Update a roll of an Ocean cluster. Performing the request will stop the next batch in a roll.

## Path parameters

- `ROLL_ID` string, required

## Parameters

- `#/paths/~1azure~1costs/get/parameters/0` (unresolved $ref)
- `#/paths/~1ocean~1aws~1ecs~1cluster~1%7BoceanClusterId%7D/get/parameters/1` (unresolved $ref)

## Request body

- object
  - `roll` object: Sets the status of the roll.
    - `status` 'STOPPED', required: Set status of a roll. Valid values: "STOPPED"

## Other responses

- `200` (unresolved $ref)
- `400`: Bad Request

---

[API](https://skmtc.dev/spot/apis/spot-by-flexera-api.md) - [All operations](https://skmtc.dev/spot/apis/spot-by-flexera-api/llms.txt) - [OpenAPI document](https://skmtc.dev/spot/apis/spot-by-flexera-api/revisions/f7e206fa6474?raw)
