patch/key
Update License Key
Updates an existing license key's settings, assigns an existing customer, or creates and assigns a new customer in a single request.
Authentication required: Bearer Token in
Authorization header.Parameters
Idempotency-Key
headerstring
Use a unique value to safely retry this request without repeating its effects.
Example
<IDEMPOTENCY-KEY>Request Body (application/json)
productIdrequired
stringThe ID of the product.
licenseKeyrequired
stringThe public license key string to update.
maxActivations
integer | stringThe new maximum number of allowed machine activations.
expiryDate
stringThe new expiration date.
customerId
stringThe ID of an existing customer to assign. Pass null to explicitly remove the assigned customer.
newCustomer
objectObject payload to simultaneously create and assign a brand new customer.
metadata
objectKey-value pair custom metadata.
versionId
stringRestrict key to a specific version.
licenseType
string [node-locked, floating]The license type.
maxConcurrentSessions
integerMax floating sessions allowed.
Responses
200Successful response
400Bad Request (e.g. providing both customerId and newCustomer)
404License key not found
Response Body (200)
code
integermessage
stringaffectedCount
integerRequest Example
Response (200 OK)