Skip to main content

Update Product Preferences

POST 

/v1/products/:productId/preferences

This endpoint updates the preferences of a Product identified by the productId parameter.

Request

Path Parameters

    productId uuidrequired

    The identifier of the Product.

Body

required

    reasonRequired booleannullable

    Indicates that a mandatory note is required for saving and publishing.

    keyGenerationMode KeyGenerationMode

    Possible values: [camelCase, lowerCase, upperCase, pascalCase, kebabCase]

    Determines the Feature Flag key generation mode.

    showVariationId booleannullable

    Indicates whether a variation ID's must be shown on the ConfigCat Dashboard.

    mandatorySettingHint booleannullable

    Indicates whether Feature flags and Settings must have a hint.

    reasonRequiredEnvironments

    object[]

    nullable

    List of Environments where mandatory note must be set before saving and publishing.

  • Array [

  • environmentId uuid

    Identifier of the Environment.

    reasonRequired boolean

    Indicates that a mandatory note is required in this Environment for saving and publishing.

  • ]

Responses

When the update was successful.

Schema

    reasonRequired boolean

    Indicates that a mandatory note required for saving and publishing.

    keyGenerationMode KeyGenerationMode

    Possible values: [camelCase, lowerCase, upperCase, pascalCase, kebabCase]

    Determines the Feature Flag key generation mode.

    showVariationId boolean

    Indicates whether a variation ID's must be shown on the ConfigCat Dashboard.

    reasonRequiredEnvironments

    object[]

    nullable

    List of Environments where mandatory note must be set before saving and publishing.

  • Array [

  • environmentId uuid

    Identifier of the Environment.

    reasonRequired boolean

    Indicates that a mandatory note is required in this Environment for saving and publishing.

    environmentName stringnullable

    Name of the Environment.

  • ]

  • mandatorySettingHint boolean

    Indicates whether Feature flags and Settings must have a hint.

Loading...