curl --location --request POST 'https://api2.hik-cloud.com/api/v1/community/access/plans/templates/config' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"configType": "userRight",
"deviceId": "xxxxxxx",
"templateNo": 1,
"enable": true,
"templateName": "xxx",
"weekPlanNo": 1,
"holidayGroupNo": "1,3,5"
}'
{
"code": 200,
"message": "操作成功"
}