Management API
License

Update Licenses (Bulk)

3min

Updates multiple licenses if requesting manager has access permissions to it.

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:

JSON


Success Response:

Code: 200 OK

Content Examples:

JSON