---
title: "Deactivate the current license"
method: POST
path: "/license/deactivate"
tags: ["system"]
---

# Deactivate the current license

`POST /license/deactivate`

Removes local activation data and returns to community mode. Admin only.

## Query parameters

- `remoteNode` string

## Response `200`

License deactivated

- object
  - `message` string

## Other responses

- `400` — No active license or license configured via env var
- `403` — Insufficient permissions
- `default` — Unexpected error

---

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