---
title: "Adds a user Account to the specified Compute Node."
method: POST
path: "/pools/{poolId}/nodes/{nodeId}/users"
tags: ["ComputeNodes"]
---

# Adds a user Account to the specified Compute Node.

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

You can add a user Account to a Compute Node only when it is in the idle or running state.

## Path parameters

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

## Query parameters

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

## Headers

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

## Response `201`

The request to the Batch service was successful.

## Other responses

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

---

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