华为乾坤-认证模板绑定设备或接口:请求示例

时间:2025-05-12 15:31:45

请求示例

HTTP的示例
POST /controller/campus/api/v1/lswauth/bind HTTP/1.1
Host: 192.168.1.125:18002
Content-Type: application/json
Accept: application/json
Accept-Language: en-US
X-AC CES S-TOKEN: x-yyyyyy
{
	"siteId" : "11111111-1111-1111-1111-111111111111",
	"authtemplateId" : "11111111-1111-1111-1111-111111111112",
	"authTempType" : "Wired",
	"deviceList" : [
		{
			"deviceId" : "11111111-1111-1111-1111-111111111113",
			"interfaceName" : ["GigabitEthernet0/0/1"],
			"vlanifName" : ["Vlanif121"],
			"deviceName" : "device1",
			"deviceEsn" : "0002353AJS0000000000",
			"deviceMode" : "S5732-H24S6Q"
		}
	]
}
support.huaweicloud.com/qiankuncmn-qiankuncs/toctopics/zh-cn_topic_0000002163880345.html