---
title: "Deactivate a license"
method: POST
path: "/v1/license/deactivate"
tags: ["License"]
---

# Deactivate a license

`POST /v1/license/deactivate`

Removes a machine from a license's active devices. Frees up an activation slot.

## Request body

- DeactivateRequest
  - `license_key` string, required — License key in format XXXXX-XXXXX-XXXXX-XXXXX-XXXXX.
  - `machine_id` string, required — SHA-256 hash of machine identifier (64 hex characters).

## Response `200`

Machine deactivated successfully.

- DeactivateResponse — Response returned after successful machine deactivation.
  - `message` string, required

## Other responses

- `404` — License key not found.
- `422` — Validation error.
- `429` — Too many requests.

---

[API](https://skmtc.dev/tablepro/apis/tablepro-license-api.md) · [All operations](https://skmtc.dev/tablepro/apis/tablepro-license-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tablepro/tablepro-license-api/revisions/779db85458cf/schema)
