Update License Product Features

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

Method : POST

  • License product features provided in product_features list will be created if not on License or updated if already on License.

  • License product features already on license but not provided in product_features list will be deleted from License.

Parameters for each License product feature

  • product_feature - String

  • max_consumption - Integer

  • total_consumptions - Integer

  • expiry_date - Date

    • Format: yyyy-mm-dd (2020-09-30)

  • allow_overages - Boolean

  • max_overages - Integer

  • reset_consumption - Boolean

  • consumption_period - String

    • Choices: daily, weekly, monthly, annualy

Data example

{
    "product_features": [
        {
            "product_feature": "f5"
        },
        {
            "product_feature": "f2",
            "max_consumption": 88,
            "total_consumptions": 0
        }
    ]
}

Success Response

Code : 200 OK

Content examples :

Last updated

Was this helpful?