---
title: "Add label to node"
method: POST
path: "/api/edgenodes/{edgeNodeId}/labels/{labelId}"
tags: ["EdgeNodes"]
---

# Add label to node

`POST /api/edgenodes/{edgeNodeId}/labels/{labelId}`

Adds the label with the specified id to the node with the specified id.

## Path parameters

- `edgeNodeId` string, uuid, required
- `labelId` string, uuid, required

## Response `200`

OK

- LabelDto — Represents a label that can be assigned to a set of nodes.
  - `id` string, uuid — The identifier of the label.
  - `organizationId` string, uuid — The identifier of the organization.
  - `name` string, nullable — The name of the label.
  - `createdAt` string, date-time — The time the label was created.
  - `createdBy` CreatorDto — Represents a creator.
    - `type` 0 | 1 | 2 | 3 | 4
    - `id` string, uuid — The identifier of the creator.
    - `name` string, nullable — The name of the creator.
  - `updatedAt` string, date-time — The time the label was last updated.
  - `updatedBy` CreatorDto — Represents a creator.
    - `type` 0 | 1 | 2 | 3 | 4
    - `id` string, uuid — The identifier of the creator.
    - `name` string, nullable — The name of the creator.

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `503` — Service Unavailable

---

[API](https://skmtc.net/crosser/apis/edge-director-api.md) · [All operations](https://skmtc.net/crosser/apis/edge-director-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/crosser/edge-director-api/versions/746b3f44e69d/schema)
