---
title: "Deactivate License Key"
method: POST
path: "/v1/customer-portal/license-keys/deactivate"
tags: ["customer_portal", "license_keys", "public"]
---

# Deactivate License Key

`POST /v1/customer-portal/license-keys/deactivate`

Deactivate a license key instance.

> This endpoint doesn't require authentication and can be safely used on a public
> client, like a desktop application or a mobile app.
> If you plan to validate a license key on a server, use the `/v1/license-keys/deactivate`
> endpoint instead.

## Request body

- LicenseKeyDeactivate
  - `key` string, required
  - `organization_id` string, uuid4, required
  - `activation_id` string, uuid4, required

## Response `204`

License key activation deactivated.

## Other responses

- `404` — License key not found.
- `422` — Validation Error

---

[API](https://skmtc.net/polar/apis/polar-api.md) · [All operations](https://skmtc.net/polar/apis/polar-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/polar/polar-api/revisions/77e4ef94fcc3/schema)
