---
title: "更新分享设备信息"
method: POST
path: "/api/v1/things/user/device/share/update"
tags: ["things/user/device/share", "thingsUserDeviceShare"]
---

# 更新分享设备信息

`POST /api/v1/things/user/device/share/update`

## Request body

- UserDeviceShareInfo
  - `accessPerm` object — 系统功能权限 2:读写权限 3读权限
  - `authType` integer — 授权类型:1:全部授权 2:部分授权
  - `createdTime` integer
  - `device` DeviceCore
    - `deviceName` string, required — 设备名称
    - `productID` string, required — 产品ID
    - `productName` string
  - `expTime` string — 到期时间
  - `id` integer
  - `projectID` string
  - `schemaPerm` object — 普通功能权限 2:读写权限 3读权限
  - `sharedUserAccount` string
  - `sharedUserID` string — 分享的对象
  - `useBy` string — 用途
  - `user` UserCore
    - `createdTime` string — 创建时间
    - `email` string — 邮箱
    - `headImg` string — 用户头像
    - `lastIP` string — 最后登录ip
    - `nickName` string — 用户的昵称
    - `phone` string — 手机号
    - `regIP` string — 注册ip
    - `userID` string — 用户id
    - `userName` string — 用户名(唯一)

## Response `200`

A successful response.

- object
  - `code` integer
  - `msg` string

---

[API](https://skmtc.net/unitedrhino/apis/things-api.md) · [All operations](https://skmtc.net/unitedrhino/apis/things-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/unitedrhino/things-api/versions/f3bdeb916389/schema)
