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 installation file integer is sku 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 { "max activations" 120 } success response code 200 ok content examples { "id" 938, "license product feature templates" \[ { "id" 246, "product feature" { "id" 194, "created at" "2021 01 13t08 38 38z", "updated at" "2021 01 13t08 38 38z", "name" "f1", "code" "f1", "is deleted" false, "feature type" "activation", "max consumption" 0, "allow unlimited consumptions" false, "allow overages" false, "max overages" 0, "reset consumption" false, "consumption period" null, "is floating" false, "is floating cloud" false, "floating users" 1, "floating timeout" null, "metadata" {}, "product" 1584723961091260 }, "feature type" "activation", "max consumption" 100, "allow unlimited consumptions" false, "allow overages" false, "max overages" 0, "reset consumption" false, "consumption period" null, "is floating" false, "is floating cloud" false, "floating users" 1, "floating timeout" null, "metadata" {}, "license template" 938 } ], "license custom field templates" \[ { "id" 66, "product custom field" { "id" 69, "name" "cf44", "data type" null, "default value" "31", "description" null, "product" 1584723961091260 }, "name" "cf44", "data type" null, "default value" "69", "description" "some description", "license template" 938 } ], "created at" "2024 04 09t07 22 34 340092z", "updated at" "2024 04 09t08 32 11 553372z", "name" "example name", "code" "example code", "is default" false, "default license type" "perpetual", "allow trial" true, "trial days" 15, "max activations" 120, "allow unlimited activations" false, "max license users" 1, "is floating" true, "is floating cloud" true, "floating users" 1, "floating timeout" 120, "enable maintenance period" false, "maintenance duration" "1y", "prevent vm" false, "valid duration" "1y", "allow grace period" false, "grace period" 0, "max consumptions" 1, "allow unlimited consumptions" false, "allow overages" false, "max overages" 0, "reset consumption" false, "consumption period" null, "max transfers" 0, "is air gapped" false, "can borrow" false, "max borrow time" 0, "is archived" false, "is hardware key auth" false, "metadata" {}, "product" 1584723961091260, "installation file" null, "is sku" false }