---
title: "Starts a rotation of a Kubernetes node pool in the project and returns the async operation."
method: POST
path: "/projects/{project_id}/kubernetes/nodepools/{node_pool_id}/rotate"
tags: ["Kubernetes Node Pools"]
---

# Starts a rotation of a Kubernetes node pool in the project and returns the async operation.

`POST /projects/{project_id}/kubernetes/nodepools/{node_pool_id}/rotate`

A successful response returns an async operation you can poll.

## Path parameters

- `project_id` string, required
- `node_pool_id` string, required

## Request body

- KubernetesNodePoolRotateStartRequest
  - `count` integer, required — Number of nodes to replace at a time when the strategy is 'count'.
  - `percentage` integer, required — Percentage of nodes to replace at a time when the strategy is 'percentage'.
  - `strategy` 'count' | 'percentage', required — Strategy for the rotation to perform: count or percentage.

## Response `200`

- AsyncOperationResponse
  - `operation` Operation, required — Individual resources that use Operations should populate the `metadata` field with resource-specific information.
    - `completed_at` string, required
    - `metadata` string, required
    - `operation_id` string, required
    - `result` string
    - `started_at` string, required
    - `state` 'IN_PROGRESS' | 'SUCCEEDED' | 'FAILED', required

## Other responses

- `400` — Error Bad Request
- `401` — Error Authentication Failed
- `403` — Error Permissions
- `404` — Error Not Found
- `500` — Error Internal Server

---

[API](https://skmtc.dev/crusoecloud/apis/crusoe-cloud-api-gateway.md) · [All operations](https://skmtc.dev/crusoecloud/apis/crusoe-cloud-api-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/crusoecloud/crusoe-cloud-api-gateway/revisions/a3fd2dedc72b/schema)
