Management API
License
Update Licenses (Bulk)
4min
updates multiple licenses if requesting manager has access permissions to it when updating valid duration , validity period and trial days you should also send is trial field valid duration and validity period can't be sent is same update license request url /api/v1/licenses/bulk update/ method patch parameters for each license id integer required must be provided in order to specify which fields will be updated on which license 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) "metadata" json object data example \[ { "id" 1604392188374249, "is trial" 1 }, { "id" 1599050404885519, "is trial" 1, "enable maintenance period" 1 }, { "id" 1606299860676369, "validity period" "2030 01 02", "is trial" 1 } ] success response code 200 ok content examples { "detail" "licenses updated " }