Lemon Squeezy icon

Lemon Squeezy

Interact with Lemon Squeezy API

License Key → Deactivate

AI-generated

Summary

Deactivate a Lemon Squeezy license key instance using the license key and instance ID.

Inputs

  • License Key (required) — The actual license key string to deactivate an instance for.
  • Instance ID (required) — The ID of the license key instance to deactivate.
  • Simplify — Defaults to enabled; flattens JSON:API attributes into the top level of the returned data. Disable it to retain the raw JSON:API structure.
  • Retry Options — Configure retries for failed API requests. Max Retries defaults to 3 (0 disables retries; range 0–10). Initial Delay defaults to 1000 ms and doubles with each retry (range 100–30000 ms).

Output shape

A single API result item containing the deactivated license key instance.

The response is simplified by default; when Simplify is disabled, the raw JSON:API structure is returned. API failures are reported as errors after retry handling.

Links

Discussion