Update License

Updates a single license, if requesting manager has access permissions to it.

circle-info
  • When updating valid_duration, validity_period and trial_days you should also send the is_trial field.

  • When updating maintenance_duration or maintenance_period you should send the enable_maintenance_period field.

circle-exclamation

URL: /api/v1/licenses/{id}/

Method: PATCH

Parameters

  • 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)

  • allow_unlimited_activation - Boolean

  • order - Integer

  • metadata - JSON object

  • allow_grace_period - Boolean

  • grace_period - Integer

  • installation_file - Integer

Data example

Success Response

Code : 200 OK

Content example :

Was this helpful?