华为乾坤-创建设备组:请求示例
时间:2025-02-17 11:36:32
请求示例
cURL示例
curl -k -s -L -i -X POST \ https://{ip:port}/restconf/data/device-shell-group-northbound:device-shell-group \ -H 'content-type: application/json' \ -H 'x-access-token: x-s9hgo7eneoqr5isarujwel9ivt5j46uo9dldhg1guo0a44amgafx1fmq88mm2qo5o7g65g1i3yuk5galddip5js785aqrs4ao8ak46mq4488c86k85bt6nrwph9dnsrw' \ -d '{ "device-shell-group-northbound:device-group": [{ "device-group-name":"cccc2" }] }'
HTTP示例
POST /restconf/data/device-shell-group-northbound:device-shell-group HTTP/1.1 Host: {ip:port} Content-Type: application/json x-access-token: x-s9hgo7eneoqr5isarujwel9ivt5j46uo9dldhg1guo0a44amgafx1fmq88mm2qo5o7g65g1i3yuk5galddip5js785aqrs4ao8ak46mq4488c86k85bt6nrwph9dnsrw Cache-Control: no-cache body: { "device-shell-group-northbound:device-group": [{ "device-group-name":"cccc2" }] }
support.huaweicloud.com/qiankuncmn-qiankuncs/toctopics/zh-cn_topic_0000002159168629.html