Create License Policy
URL: /api/v1/license-templates/
Method: POST
Creates a license policy if requesting manager has access permissions to it.
Parameters
name- Stringcode- Integerdefault_license_type- Stringallow_trial- Booleantrial_days- Integermax_activations- Integerallow_unlimited_activations- Booleanmax_license_users- Integeris_floating- Booleanis_floating_cloud- Booleanfloating_users- Integerfloating_timeout- Integerenable_maintenance_period- Booleanmaintenance_duration- Stringprevent_vm- Booleanvalid_duration- Stringallow_grace_period- Booleangrace_period- Integermax_consumptions- Integerallow_unlimited_consumptions- Booleanallow_overages- Booleanmax_overages- Integerreset_consumption- Booleanconsumption_period- Integermax_transfers- Integeris_air_gapped- Booleancan_borrow- Booleanmax_borrow_time- Integeris_archived- Booleanis_hardware_key_auth- Booleanmetadata- JSONproduct- Integerinstallation_file- Integeris_sku- Booleanuser_max_activations- Integerlicense_product_feature_templates- list of objects:id- Integer (id of product feature)max_consumption- Integerallow_unlimited_consumptions- Booleanallow_overages- Booleanmax_overages- Integerreset_consumption- Booleanconsumption_period- Stringis_floating- Booleanis_floating_cloud- Booleanfloating_users- Integerfloating_timeout- Integermetadata- JSON
license_custom_field_templates- list of objects:id- Integer (id of product custom field)name- Stringdata_type- Stringdefault_value- Stringdescription- String
Data example
Success Response
Code: 201 OK
Was this helpful?