This endpoint allows you to update a specific license key instance by its ID.
JavaScript
import DodoPayments from 'dodopayments'; const client = new DodoPayments({ bearerToken: 'My Bearer Token', }); const licenseKeyInstance = await client.licenseKeyInstances.update('lki_123', { name: 'name' }); console.log(licenseKeyInstance.id);
{ "business_id": "<string>", "created_at": "2024-01-01T00:00:00Z", "id": "lki_123", "license_key_id": "lic_123", "name": "Production Server 1" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
License key instance ID
License key instance updated
"2024-01-01T00:00:00Z"
"lki_123"
"lic_123"
"Production Server 1"
Was this page helpful?