---
title: "Update Edge Node"
method: PUT
path: "/v2/enm/edge-node/{nodeId}"
tags: ["Edge Node"]
---

# Update Edge Node

`PUT /v2/enm/edge-node/{nodeId}`

## Request

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

Update edge node

## Path parameters

- `nodeId` string, required

## Request body

- NodeUpsert
  - `displayName` string, required
  - `proxyAddress` string, required
  - `partitionId` string, required
  - `default` boolean: Default node for partition
  - `resetAuthToken` boolean: Generate a new authToken

## Response `201`

Created

- Node
  - `id` string, uuid
  - `authToken` string, uuid: Token used to obtain edge node file from external endpoint
  - `displayName` string, required
  - `proxyAddress` string, required
  - `partitionId` string, required
  - `default` boolean: Default node for partition

## Other responses

- `401`: Unauthorized
- `404`: Partition 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)
