Update Product Feature

  • Method: PATCH

  • URL: /api/v1/product-features/{id}/

Description

Updates a product feature, if requesting manager has access permissions to it.

request.json
{
    "name": "f1",
    "code": "f1",
    "feature_type": "consumption",
    "max_consumption": 7,
    "allow_overages": false,
    "max_overages": 0,
    "reset_consumption": false,
    "consumption_period": null,
    "metadata": {},
    "product": 1698659666691556,
    "is_floating": true,
    "floating_users": 13,
    "floating_timeout": 113
}

Request body parameters

Name
Required
Type
Description

name

required

string

name

code

required

string

feature_type

required

string

Choices: activation, consumption.

max_consumption

optional

integer

allow_overages

optional

boolean

max_overages

optional

integer

reset_consumption

optional

boolean

consumption_period

optional

string

Choices: daily, weekly, monthly, annually.

product

optional

integer

is_floating

optional

boolean

floating_users

optional

integer

floating_timeout

optional

integer

metadata

optional

object

JSON object

circle-info

The endpoint uses PATCH semantics: provide only the fields you want to update.

Was this helpful?