Skip to Content
API ReferenceLicenses

Deactivate a license instance

Remove one device or installation from a license.

Deactivation requires Idempotency-Key, so a lost network response is safe to retry with the same key and identical body. The response does not reveal the raw license key.

POST
/v2/licenses/deactivate

Authorization

headerAuthorizationBearer <API Key>

Provide your SellApp API key as a bearer token.

Header Parameters

Idempotency-Key*string

Reuse this key only for an identical retry. A replay returns Idempotent-Replayed: true.

Length8 <= length <= 255
X-STORE?string

Store slug. Required for OAuth access tokens. API keys may omit it to use their current store, or the first accessible store when no current store is selected.

Request Body

application/json
  1. body
license_key*string
instance_id*string

Response Body

Successful response.

application/json
  1. response
data*
Example Request
curl -X POST 'https://sell.app/api/v2/licenses/deactivate' \  -H 'Idempotency-Key: project-library-2026-09-04' \  -H 'X-STORE: launch-lab' \  -H 'Content-Type: application/json' \  -d '{  "license_key": "SELL-LICENSE-REDACTED",  "instance_id": "laptop-maya"}'
{  "data": {    "deactivated": true,    "instance_id": "laptop-maya"  }}