设备发放 IoTDP-发放设备:请求示例

时间:2025-02-12 14:54:20

请求示例

  • 发放设备(非自定义策略)

    POST https://{endpoint}/v5/iotps/{project_id}/devices/d4922d8a-6c8e-4396-852c-164aefa6638f/allocation{  "access_point_id" : "d4922d8a-6c8e-4396-852c-164aefa6638f",  "region_id" : "cn-north-4",  "app_id" : "d4922d8a-6c8e-4396-852c-164aefa6638f"}
  • 发放设备(自定义策略)

    POST https://{endpoint}/v5/iotps/{project_id}/devices/d4922d8a-6c8e-4396-852c-164aefa6638f/allocation{   "access_point_id":"d4922d8a-6c8e-4396-852c-164aefa6638f",   "product_id": "98cabff1-0112-4e63-ba59-a505aea5ebef"  "region_id":"cn-north-4",   "app_id":"d4922d8a-6c8e-4396-852c-164aefa6638f"}
support.huaweicloud.com/api-iotps/StartAllocateDevice.html