Management API
...
License
License Policies

Update License Policy

3min

Updates a license policy if requesting manager has access permissions to it.

URL : /api/v1/license-templates/{id}/

Method : PATCH

Parameters

  • name - String
  • default_license_type - String
  • allow_trial - Boolean
  • trial_days - Integer
  • max_activations - Integer
  • allow_unlimited_activations - Boolean
  • max_license_users - Integer
  • is_floating - Boolean
  • is_floating_cloud - Boolean
  • floating_users - Integer
  • floating_timeout - Integer
  • enable_maintenance_period - Boolean
  • maintenance_duration - String
  • prevent_vm - Boolean
  • valid_duration - String
  • allow_grace_period - Boolean
  • grace_period - Integer
  • max_consumptions - Integer
  • allow_unlimited_consumptions - Boolean
  • allow_overages - Boolean
  • max_overages - Integer
  • reset_consumption - Boolean
  • consumption_period - Integer
  • max_transfers - Integer
  • is_air_gapped - Boolean
  • can_borrow - Boolean
  • max_borrow_time - Integer
  • is_archived - Boolean
  • is_hardware_key_auth - Boolean
  • metadata - JSON
  • license_product_feature_templates - list of objects:
    • id - Integer (id of product feature)
    • max_consumption - Integer
    • allow_unlimited_consumptions - Boolean
    • allow_overages - Boolean
    • max_overages - Integer
    • reset_consumption - Boolean
    • consumption_period - String
    • is_floating - Boolean
    • is_floating_cloud - Boolean
    • floating_users - Integer
    • floating_timeout - Integer
    • metadata - JSON
  • license_custom_field_templates - list of objects:
    • id - Integer (id of product custom field)
    • name - String
    • data_type - String
    • default_value - String
    • description - String

Data example

JSON


Success Response

Code : 200 OK

Content examples :

JSON