curl --location --request PUT 'https://api2.hik-cloud.com/v1/customization/devices/io/outputs/portInfo' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"deviceId": "string",
"name": "string",
"ioPortID": 0,
"powerOnState": {
"defaultState": "string",
"outputState": "string",
"pulseDuration": 0
}
}'
{
"code": 200,
"message": "操作成功"
}