---
title: "Reinstalls the operating system on the specified Compute Node."
method: POST
path: "/pools/{poolId}/nodes/{nodeId}/reimage"
tags: ["Nodes"]
---

# Reinstalls the operating system on the specified Compute Node.

`POST /pools/{poolId}/nodes/{nodeId}/reimage`

You can reinstall the operating system on a Compute Node only if it is in an
idle or running state. This API can be invoked only on Pools created with the
cloud service configuration property.

## Path parameters

- `poolId` string, required
- `nodeId` string, required

## Query parameters

- `api-version` string, required
- `timeOut` integer

## Headers

- `client-request-id` string
- `return-client-request-id` boolean
- `ocp-date` string, date-time-rfc7231

## Response `202`

The request has been accepted for processing, but processing has not yet completed.

## Other responses

- `default` — An unexpected error response.

## Changes

- **2026-07-13** `8427acd8fd77` — 1 warning, 4 info
  - deleted the `query` request parameter `timeout`
  - api operation id `ComputeNode_Reimage` removed and replaced with `Nodes_ReimageNode`
  - api tag `Nodes` added
  - api tag `ComputeNodes` removed
  - …1 more

[Change history](https://skmtc.dev/azure/apis/batch-batch/changes/pools/:poolId/nodes/:nodeId/reimage/post.md)

---

[API](https://skmtc.dev/azure/apis/batch-batch.md) · [All operations](https://skmtc.dev/azure/apis/batch-batch/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/batch-batch/revisions/8427acd8fd77/schema)
