---
title: "Deactivate a license installation"
method: POST
path: "/license/deactivate"
tags: ["Licensing"]
---

# Deactivate a license installation

`POST /license/deactivate`

## Request

- Base URL: `https://demo.onlinebillingform.com/api/v2`
- URL: `https://demo.onlinebillingform.com/api/v2/license/deactivate`
- Auth: none required
- TypeScript: <https://skmtc.dev/billingserv/apis/billingserv-api-v2/docs/license/deactivate/post.ts> (a function with typed inputs; its response is checked against the schema)

Deactivates the matching device or server instance and releases its activation slot.

## Request body

- LicenseDeactivationRequest
  - `license_key` string, required
  - `instance` string, required

## Response `200`

Deactivation processed

- LicenseDeactivationResponse
  - `success` true, required
  - `deactivated` boolean, required

## Other responses

- `404`: License key not found
- `422`: Request validation failed
- `429`: Rate limit exceeded

## Changes

- **2026-08-22** `6b9208b64456`: 2 info
  - added the optional property `code` to the response with the `422` status
  - added the optional property `request_id` to the response with the `422` status

[Operation history](https://skmtc.dev/billingserv/apis/billingserv-api-v2/changes/license/deactivate/post.md)

---

[API](https://skmtc.dev/billingserv/apis/billingserv-api-v2.md) - [All operations](https://skmtc.dev/billingserv/apis/billingserv-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/billingserv/apis/billingserv-api-v2/revisions/232ab5ca8413?raw)
