Lemon Squeezy icon

Lemon Squeezy

Interact with Lemon Squeezy API

License Key Instance → Deactivate

AI-generated

Summary

Deactivate a license key instance using the license key string and the instance ID. The request uses the configured Lemon Squeezy credentials and can retry eligible failed API requests.

Inputs

  • License Key (required) — The actual license key string, not its ID.
  • Instance ID (required) — The ID of the license key instance to deactivate.
  • Simplify — Defaults to true; when enabled, flattens JSON:API attributes to the top level. Disable it to return the raw JSON:API structure.
  • Retry Options — Controls retries for failed API requests. Max Retries defaults to 3 (0 disables retries; range 0–10). Initial Delay defaults to 1000 ms (range 100–30000 ms); the delay doubles on each retry.

Output shape

A single license key instance response.

The response is simplified by default; with Simplify disabled, it retains the raw JSON:API format. API errors are reported if the request fails after retries.

Links

Discussion