Update Licenses (Bulk)
Update multiple licenses if the requesting manager has access permissions.
When updating valid_duration, validity_period and trial_days you should also send the is_trial field.
valid_duration and validity_period can't be sent in the same update license request.
URL: /api/v1/licenses/bulk_update/
Method: PATCH
Parameters for each license:
id- IntegerRequired
Must be provided in order to specify which fields will be updated on which License
max_activations- Integermax_consumptions- Integerallow_overages- Booleanmax_overages- Integerreset_consumption- Booleanconsumption_period- StringChoices:
daily,weekly,monthly,annualy
is_trial- Booleantrial_days- Integerenable_maintenance_period- Booleanmaintenance_duration- StringChoices examples:
35d(35 days),4m(4 months),2y(2 years)
is_floating- Booleanis_floating_cloud- Booleanfloating_users- Integervalid_duration- StringChoices examples:
35d(35 days),4m(4 months),2y(2 years)
validity_period- DateFormat:
yyyy-mm-dd(2020-09-30)
prevent_vm- Booleannote- Stringmax_license_users- IntegerDefault: 0 (unlimited)
floating_timeout- Integermax_transfers- IntegerDefault: 0 (unlimited)
metadata- JSON object
Data example:
Success response:
Code: 200 OK
Content example:
Was this helpful?