license_keys
public

Update License Key

Changed on

Update a license key.

Scopes: license_keys:write

patch/v1/license-keys/{id}

Request

  • Base URL
    https://api.polar.sh
  • URL
    https://api.polar.sh/v1/license-keys/{id}
  • Auth
    • OpenID Connect (/.well-known/openid-configuration, scopes: license_keys:write)
    • or HTTP bearer
    • or HTTP bearer

Path parameters

idstring uuid4 required

Request body

status'granted' | 'revoked' | 'disabled'
usageinteger
limit_activationsinteger nullable
limit_usageinteger nullable
expires_atstring date-time nullable

Response

Successful Response

LicenseKeyRead required(unresolved $ref)

Changes