You need to enable JavaScript to run this app.
导航
修改用户属性
最近更新时间:2024.06.30 18:36:04首次发布时间:2024.06.30 18:36:04

请求说明

Path:openapi/v1/metadata/<app_id: int>/profile:batchOperate
Method: POST
Content-type: application/json

请求参数

Body:

参数

类型

是否必选

示例值

描述

profiles

list

见下文请求示例

用户属性

operation_type

int

6

操作类型

  • 5 新增
  • 6 修改

profiles[0].name

str

os_name

属性名

profiles[0].status

int

1

状态信息

  • 0 禁用
  • 1 启用
  • 2 隐藏

profiles[0].description

str

os_name desc

描述信息

profiles[0].show_name

str

os_name show_name

展示信息

profiles[0].value_type

str

int

属性类型,目前支持

  • int 整型
  • float 浮点型
  • string 字符串类型
  • datetime 日期类型
  • list 列表类型
  • version 版本号类型
{
    "profiles": [
        {
            "name": "os_name",
            "show_name": "os_name show_name",
            "description": "os_name desc"
        }
    ],
    "operation_type": 6
}

返回参数

Response:

{
    "code": 200,
    "message": "success",
    "data": true
}