---
title: "Activate a license key"
method: POST
path: "/license/activate"
tags: ["system"]
---

# Activate a license key

`POST /license/activate`

Exchanges a license key for a signed JWT token. Admin only.

## Query parameters

- `remoteNode` string

## Request body

- object
  - `key` string, required — License key (e.g. DAGU-XXXX-XXXX-XXXX-XXXX)

## Response `200`

Activation successful

- object
  - `plan` string
  - `features` string[]
  - `expiry` string

## Other responses

- `400` — Invalid key or activation failed
- `403` — Insufficient permissions
- `default` — Unexpected error

## Changes

- **2026-05-24** (v1) `8a2d5d3e9608` — 3 warning
  - added the new `rate_limited` enum value to the `code` response property for the response status `400`
  - added the new `rate_limited` enum value to the `code` response property for the response status `403`
  - added the new `rate_limited` enum value to the `code` response property for the response status `default`
- **2026-04-30** (v1) `50e1d517afc1` — 3 info
  - removed the `rate_limited` enum value from the `code` response property for the response status `400`
  - removed the `rate_limited` enum value from the `code` response property for the response status `403`
  - removed the `rate_limited` enum value from the `code` response property for the response status `default`

[Change history](https://skmtc.dev/dagucloud/apis/dagu/changes/license/activate/post.md)

---

[API](https://skmtc.dev/dagucloud/apis/dagu.md) · [All operations](https://skmtc.dev/dagucloud/apis/dagu/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/dagucloud/dagu/revisions/8a2d5d3e9608/schema)
