{
"isCreate": false,
"hostName": "string",
"osType": "string",
"hostDesc": "string",
"protocol": "string",
"hostAddr": "string",
"hostPort": 0,
"groupId": 0,
"domainId": "0",
"principal": "string"
}curl --location '/ztpManage/v1/openApi/hostAuthorize' \
--header 'Content-Type: application/json' \
--data '{
"isCreate": false,
"hostName": "string",
"osType": "string",
"hostDesc": "string",
"protocol": "string",
"hostAddr": "string",
"hostPort": 0,
"groupId": 0,
"domainId": "0",
"principal": "string"
}'{
"code": 0,
"msg": "string"
}