Management API
License
Update License
4min
Updates a single license, if requesting manager has access permissions to it.
When updating valid_duration , validity_period and trial_days you should also send is_trialfield.
valid_duration and validity_period can't be sent is same update license request.
URL: /api/v1/licenses/{id}/
Method: PATCH
- max_activations - Integer
- max_consumptions - Integer
- allow_overages - Boolean
- max_overages - Integer
- reset_consumption - Boolean
- consumption_period - String
- Choices: daily, weekly, monthly, annualy
- is_trial - Boolean
- trial_days - Integer
- enable_maintenance_period - Boolean
- maintenance_duration - String
- Choices examples: 35d (35 days), 4m (4 months), 2y (2 years)
- is_floating - Boolean
- is_floating_cloud - Boolean
- floating_users - Integer
- valid_duration - String
- Choices examples: 35d (35 days), 4m (4 months), 2y (2 years)
- validity_period - Date
- Format: yyyy-mm-dd (2020-09-30)
- prevent_vm - Boolean
- note - String
- max_license_users - Integer
- Default: 0 (unlimited)
- floating_timeout - Integer
- max_transfers - Integer
- Default: 0 (unlimited)
- allow_unlimited_activation-Boolean
- order - Integer
- "metadata"-JSON object
Code : 200 OK
Content examples :
Updated 28 Jun 2024
Did this page help you?