修改用户

更新时间: 2024/04/02 17:59:25
  • url

    https://www.cloudroom.com/CLOUDROOM-SERVER/v2/user/{userId}

  • 请求方式PUT

  • 请求参数

    参数名 必填 类型 描述
    password String 密码
    name String 昵称
    mobile String 手机号
    departmentId Integer 部门Id
    (若部门未填写,账号将默认被分配至公司根目录下)
    roleType Integer 角色
    (1:管理员, 2:会议安排者, 3:普通用户,4:部门管理员,5:财务管理员。默认为2:会议安排者)
    email String 邮箱
  • 请求参数示例

    {
        "password":"12345678",
        "name":"test",
        "mobile":"18927450001",
        "departmentId":103,
        "roleType":2,
        "email":"test@163.com"
    }
    
  • 返回参数

  • 返回参数示例

    {
        "userId": "{userId}",
        "password":"12345678",
        "name":"test",
        "mobile":"008618927450001",
        "departmentId":103,
        "roleType":2,
        "email":"test@163.com"
    }