Update Licenses (Bulk)

Update multiple licenses if the requesting manager has access permissions.

circle-info

When updating valid_duration, validity_period and trial_days you should also send the is_trial field.

circle-exclamation

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:

Success response:

Code: 200 OK

Content example:

Was this helpful?