---
title: "Create Edge Node"
method: POST
path: "/v2/enm/edge-node"
tags: ["Edge Node"]
---

# Create Edge Node

`POST /v2/enm/edge-node`

## Request

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

Create Edge Node

## Query parameters

- `default` boolean

## 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
- `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)
