---
title: "Update Edge Node configuration for a device"
method: PUT
path: "/v2/enm/edge-node-assignment/{nodeAssignmentId}"
tags: ["Edge Node"]
---

# Update Edge Node configuration for a device

`PUT /v2/enm/edge-node-assignment/{nodeAssignmentId}`

## Request

- Base URL: `https://api.alianza.com`
- URL: `https://api.alianza.com/v2/enm/edge-node-assignment/{nodeAssignmentId}`
- Auth: API key in header `X-AUTH-TOKEN`
- TypeScript: <https://skmtc.dev/alianza/apis/alianza-public-api/docs/v2/enm/edge-node-assignment/:nodeAssignmentId/put.ts> (a function with typed inputs; its response is checked against the schema)

Update Edge Node configuration for a device

## Path parameters

- `nodeAssignmentId` string, required

## Request body

- NodeAssignmentUpsert
  - `id` string: Node assignment Id
  - `edgeNodeId` string: Id of Edge Node
  - `deviceId` string: Id of the device

## Response `201`

Created

- NodeAssignment
  - `id` string: Node assignment Id
  - `edgeNodeId` string: Id of Edge Node
  - `deviceId` string: Id of the device
  - `proxyAddress` string

## Other responses

- `401`: Unauthorized
- `404`: Device not found; Node not found
- `422`: Body missing required fields

---

[API](https://skmtc.dev/alianza/apis/alianza-public-api.md) - [All operations](https://skmtc.dev/alianza/apis/alianza-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/alianza/apis/alianza-public-api/revisions/7223246c352c?raw)
