Update License
This method updates specific Licenses with the values passed into the body of the request.
Code Sample
import { Salable } from '@salable/node-sdk';
const salable = new Salable('{{API_KEY}}');
const updatedLicense = await salable.licenses.updateMany([
{ uuid: 'license-uuid', granteeId: 'updated-grantee-id' },
{ uuid: 'license-uuid', granteeId: 'updated-grantee-id' },
]);
Parameters
licenseUuid (required)
Type: string
The uuid
of the license to be updated
granteeId (required)
Type: string
or null
The value of the new granteeId. To un-assign the license set the granteeId
to null
.
Return Type
For more information about this request see our API documentation on license object