---
title: "Update Roll"
method: PUT
path: "/ocean/gcp/k8s/cluster/{oceanId}/roll/{rollId}"
tags: ["Ocean GKE"]
---

# Update Roll

`PUT /ocean/gcp/k8s/cluster/{oceanId}/roll/{rollId}`

Update a roll of an Ocean cluster.

*Performing the request will stop the next batch in a roll.*

## Path parameters

- `rollId` string, required

## Parameters

- `#/paths/~1azure~1costs/get/parameters/0` — unresolved $ref
- `#/paths/~1ocean~1gcp~1k8s~1cluster~1%7BoceanId%7D~1roll/get/parameters/1` — unresolved $ref

## Request body

- object
  - `roll` object — Object that specifies the parameters of a roll (also called a deployment).
    - `status` 'STOPPED', required — Set status of a roll. Valid values: "STOPPED"

## Response `200`

Cluster Roll Response

- object
  - `rollId` string
  - `status` 'STOPPED'
  - `batchNumber` integer
  - `numOfBatches` integer
  - `scope` 'Cluster' | 'Vngs' | 'Vng' | 'Instances' | 'Instance'
  - `progress` object
    - `unit` string
    - `value` integer
    - `detailedStatus` object
      - `oldInstances` object[]
        - `instanceName` string
        - `status` string
  - `batchMinHealthyPercentage` integer
  - `oceanId` string
  - `respectPdb` boolean
  - `createdAt` string
  - `updatedAt` string

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/spot/apis/spot-by-flexera-api.md) · [All operations](https://skmtc.net/spot/apis/spot-by-flexera-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/spot/spot-by-flexera-api/revisions/72813baf8d47/schema)
