Update Product Preferences
POST/v1/products/:productId/preferences
This endpoint updates the preferences of a Product identified by the productId
parameter.
Request
Path Parameters
The identifier of the Product.
- application/json
- text/json
- application/*+json
Body
required
Array [
]
Indicates that a mandatory note is required for saving and publishing.
Possible values: [camelCase
, lowerCase
, upperCase
, pascalCase
, kebabCase
]
Determines the Feature Flag key generation mode.
Indicates whether a variation ID's must be shown on the ConfigCat Dashboard.
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.
Identifier of the Environment.
Indicates that a mandatory note is required in this Environment for saving and publishing.
Body
required
Array [
]
Indicates that a mandatory note is required for saving and publishing.
Possible values: [camelCase
, lowerCase
, upperCase
, pascalCase
, kebabCase
]
Determines the Feature Flag key generation mode.
Indicates whether a variation ID's must be shown on the ConfigCat Dashboard.
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.
Identifier of the Environment.
Indicates that a mandatory note is required in this Environment for saving and publishing.
Body
required
Array [
]
Indicates that a mandatory note is required for saving and publishing.
Possible values: [camelCase
, lowerCase
, upperCase
, pascalCase
, kebabCase
]
Determines the Feature Flag key generation mode.
Indicates whether a variation ID's must be shown on the ConfigCat Dashboard.
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.
Identifier of the Environment.
Indicates that a mandatory note is required in this Environment for saving and publishing.
Responses
- 200
- 400
- 404
- 429
When the update was successful.
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Indicates that a mandatory note required for saving and publishing.
Possible values: [camelCase
, lowerCase
, upperCase
, pascalCase
, kebabCase
]
Determines the Feature Flag key generation mode.
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.
Identifier of the Environment.
Indicates that a mandatory note is required in this Environment for saving and publishing.
Name of the Environment.
Indicates whether Feature flags and Settings must have a hint.
{
"reasonRequired": true,
"keyGenerationMode": "camelCase",
"showVariationId": true,
"reasonRequiredEnvironments": [
{
"environmentId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"reasonRequired": true,
"environmentName": "string"
}
],
"mandatorySettingHint": true
}
Bad request.
Not found.
Too many requests. In case of the request rate exceeds the rate limits.