For the complete documentation index, see llms.txt. This page is also available as Markdown.

Create Scheduled Update

Schedule one or more changes to a License if requesting manager has access permissions to it.

scheduled_at is truncated to the full hour (e.g. 2026-11-01T10:45:00Z is stored as 2026-11-01T10:00:00Z). A License can have only one Scheduled Update per hour: if a pending Scheduled Update already exists for the same License and hour, the new scheduled_update_data items are added to it (its name and note are kept) and that Scheduled Update is returned.

URL: /api/v1/scheduled-updates/

Method: POST

Parameters

  • license — Integer

    • Required

  • scheduled_at — Datetime

    • Required

    • Must be at least the next full hour

  • name — String

    • Maximum length: 255

  • note — String

  • scheduled_update_data — List of objects

    • Required

    • Between 1 and 100 items

    • An action + product_feature + product_custom_field combination may appear only once per request, and only once per pending Scheduled Update.

    • Each item:

      • action — String

        • Required

        • Choices: license-update, license-reset, license-product-feature-update, license-product-feature-delete, license-custom-field-update, license-custom-field-delete

      • product_feature — Integer

        • Required for license-product-feature-update and license-product-feature-delete

        • Must belong to the same product as the license

      • product_custom_field — Integer

        • Required for license-custom-field-update and license-custom-field-delete

        • Must belong to the same product as the license

      • update_data — Object

        • Default: {}

        • Content depends on action, see below

update_data per action

Action

update_data

license-update

Any fields accepted by Update License. Example: {"validity_period": "2027-11-01", "max_activations": 10}

license-reset

Optional reset flags, same as Reset License. Omitted flags use their defaults.

license-product-feature-update

Any fields accepted by Update License Product Feature. If the product feature is not yet assigned to the license, it is assigned when the update is applied, so update_data must then be valid for Create License Product Feature. Example: {"max_consumption": 100}

license-product-feature-delete

{}. The product feature must be assigned to the license.

license-custom-field-update

Any fields accepted by Update License Custom Field. If the custom field is not yet set on the license, it is created when the update is applied. Example: {"value": "EU"}

license-custom-field-delete

{}. The custom field must be set on the license.

For license-reset, the available flags are:

  • reset_validity_period — Boolean, default: true

  • reset_maintenance_period — Boolean, default: true

  • reset_consumptions — Boolean, default: true

  • reset_metadata — Boolean, default: false

  • reset_product_features — Boolean, default: false

  • reset_custom_fields — Boolean, default: false

update_data is validated against the current state of the license when the Scheduled Update is created, and again when it is applied.

Data example

Success Response

Code: 201 Created

Content examples:

Error Responses

Code: 400 Bad Request

Returned when a non-pending (applied, cancelled or failed) Scheduled Update already exists for the license at that hour.

Last updated

Was this helpful?