fields array sent becomes the configuration's single source of truth: any existing field not included in the array is effectively discarded.description and help, type belonging to the accepted set of values, options as a plain list of strings where applicable, and unique index/name within the array.curl --location --request PUT '/v1/client-config/' \
--header 'Content-Type: application/json' \
--data '{
"fields": [
{
"id": "string",
"name": "string",
"type": "shortText",
"index": 0,
"required": true,
"editable": true,
"category": "default",
"description": "string",
"help": "string",
"options": [
"string"
],
"variant": 0,
"section": {
"id": "string",
"index": 0
},
"slug": "string",
"uiComponent": "string"
}
]
}'{
"id": "string",
"companyId": "string",
"fields": [
{
"id": "string",
"name": "string",
"type": "shortText",
"index": 0,
"required": true,
"editable": true,
"category": "default",
"description": "string",
"help": "string",
"options": [
"string"
],
"variant": 0,
"section": {
"id": "string",
"index": 0
},
"slug": "string",
"uiComponent": "string"
}
]
}