---
title: "PUT /pools/{poolId}/nodes/{nodeId}/users/{userName}"
method: PUT
path: "/pools/{poolId}/nodes/{nodeId}/users/{userName}"
tags: ["ComputeNodes"]
---

# PUT /pools/{poolId}/nodes/{nodeId}/users/{userName}

`PUT /pools/{poolId}/nodes/{nodeId}/users/{userName}`

Updates the password or expiration time of a user account on the specified compute node.

## Path parameters

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

## Query parameters

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

## Headers

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

## Response `200`

OK

## Other responses

- `default` — The error from the Batch service.

---

[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/bee2d837bf8f/schema)
