Authorization: Bearer ********************
{
"config-name": "PORTAL_NEW_CUSTOM_CONFIG_API_DOG",
"description": "Sample configuration definition from api dog",
"default": "no",
"data-type": "string",
"code-version": "v44.0",
"config-def-default-basic-user": "",
"config-def-default-call-center-supervisor": "",
"config-def-default-office-manager": "",
"config-def-default-reseller": "",
"config-def-default-super-user": "",
"config-def-allow-hostname": "yes",
"config-def-allow-reseller-access": "yes",
"tags": "portal,sample"
}
curl --location --request PUT 'https://awqacore01.crexendocloud.com/ns-api/v2/config-definitions/PORTAL_NEW_CUSTOM_CONFIG_API_DOG' \
--header 'Content-Type: application/json' \
--data-raw '{
"config-name": "PORTAL_NEW_CUSTOM_CONFIG_API_DOG",
"description": "Sample configuration definition from api dog",
"default": "no",
"data-type": "string",
"code-version": "v44.0",
"config-def-default-basic-user": "",
"config-def-default-call-center-supervisor": "",
"config-def-default-office-manager": "",
"config-def-default-reseller": "",
"config-def-default-super-user": "",
"config-def-allow-hostname": "yes",
"config-def-allow-reseller-access": "yes",
"tags": "portal,sample"
}'
{
"code": 409,
"message": "Config definition already exists"
}