设备接入 IOTDA-更新指定id的自定义鉴权:请求示例

时间:2024-06-28 09:24:33

请求示例

更新自定义鉴权

PUT https://{endpoint}/v5/iot/{project_id}/device-authorizers/{authorizer_id}

{
  "authorizer_name" : "myTest",
  "func_urn" : "urn:fss:cn-north-5:d92d9c5eb8e347b5bb31ecfe5bc0c4e1:function:default:mqtt_auth:latest",
  "signing_enable" : true,
  "signing_token" : "string",
  "signing_public_key" : "string",
  "default_authorizer" : false,
  "status" : "ACTIVE",
  "cache_enable" : false
}
support.huaweicloud.com/api-iothub/UpdateDeviceAuthorizer.html