{
"device_type": "1",
"name": "xxxx",
"protocol_type": "MQTT",
"voucher_type": "xxxx",
"description": "xxxxxxxxxxxxxxxxxx",
"protocol_config": "{\"aa\":1}"
}
curl --location --request POST 'http://127.0.0.1:9999/api/v1/device_config' \
--header 'x-token: {{x-token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"device_type": "1",
"name": "xxxx",
"protocol_type": "MQTT",
"voucher_type": "xxxx",
"description": "xxxxxxxxxxxxxxxxxx",
"protocol_config": "{\"aa\":1}"
}'
{"code":200,"message":"Create deviceconfig successfully"}