---
title: "POST /v1/{+name}:rollback"
method: POST
path: "/v1/{+name}:rollback"
tags: ["projects"]
---

# POST /v1/{+name}:rollback

`POST /v1/{+name}:rollback`

Rolls back a previously Aborted or Failed NodePool upgrade. This makes no changes if the last upgrade successfully completed.

## Path parameters

- `name` string, required

## Request body

- RollbackNodePoolUpgradeRequest — RollbackNodePoolUpgradeRequest rollbacks the previously Aborted or Failed NodePool upgrade. This will be an no-op if the last upgrade successfully completed.
  - `respectPdb` boolean — Option for rollback to ignore the PodDisruptionBudget. Default value is false.
  - `projectId` string — Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.
  - `clusterId` string — Deprecated. The name of the cluster to rollback. This field has been deprecated and replaced by the name field.
  - `name` string — The name (project, location, cluster, node pool id) of the node poll to rollback upgrade. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
  - `zone` string — Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.
  - `nodePoolId` string — Deprecated. The name of the node pool to rollback. This field has been deprecated and replaced by the name field.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/container.md) · [All operations](https://skmtc.net/google/apis/container/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/container/versions/f20e7f9e2240/schema)
