Create License Policy

circle-info

URL: /api/v1/license-templates/ Method: POST

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

Parameters

  • name - String

  • code - Integer

  • 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

  • product - Integer

  • installation_file - Integer

  • is_sku - Boolean

  • user_max_activations - Integer

  • 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

Success Response

Code: 201 OK

Was this helpful?