---
title: "Claim a license for a controller"
method: POST
path: "/v1/license/claim"
tags: ["License"]
---

# Claim a license for a controller

`POST /v1/license/claim`

Link a license to a controller by creating an entry in license_datalink

## Request body

- object
  - `licenseKey` string, required — The license key to claim
  - `nodeId` string, required — The nodeId of the controller to link the license to

## Response `200`

License successfully claimed

- object
  - `success` boolean
  - `license` object
    - `id` string, uuid
    - `key` string
    - `nodeId` string

## Other responses

- `400` — Invalid request body or license already claimed
- `401` — Authentication required or invalid token
- `404` — License or controller not found

---

[API](https://skmtc.dev/eniris/apis/eniris-metadata-telemetry-query-api.md) · [All operations](https://skmtc.dev/eniris/apis/eniris-metadata-telemetry-query-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/eniris/eniris-metadata-telemetry-query-api/revisions/fe3723575e19/schema)
