v1

latestOpenAPI 3.0.42026-08-064075233.0 KB
EdgeNodes

Add label to node

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

post/api/edgenodes/{edgeNodeId}/labels/{labelId}

Path parameters

edgeNodeIdstring uuid required

The identifier for the node that we want to add the label to.

labelIdstring uuid required

The identifier for the label that we want to add to the node.

Response

OK

idstring uuid

The identifier of the label.

organizationIdstring uuid

The identifier of the organization.

namestring nullable

The name of the label.

createdAtstring date-time

The time the label was created.

updatedAtstring date-time

The time the label was last updated.

Example response

{
  "id": "17c2316e-901c-4c6f-8ee5-18abf4075d60",
  "organizationId": "8c84e649-1669-428c-8506-47b0815180e8",
  "name": "My label",
  "createdAt": "2024-09-24T09:33:38.013347Z",
  "createdBy": {
    "id": "256f791c-fbc0-4435-9429-d291227f6577",
    "name": "My User"
  },
  "updatedAt": "2024-09-24T09:33:38.013347Z",
  "updatedBy": {
    "id": "256f791c-fbc0-4435-9429-d291227f6577",
    "name": "My User"
  }
}