---
title: "更新配置"
method: POST
path: "/api/v1/things/product/config/update"
tags: ["things/product/config", "thingsProductConfig"]
---

# 更新配置

`POST /api/v1/things/product/config/update`

## Request body

- ProductConfig
  - `devInit` DevInit
    - `areaID` string — 设备创建默认分配给的区域ID
    - `deptID` string — 设备创建默认分配给的部门
    - `projectID` string — 设备创建默认分配给的项目
    - `tenantCode` string — 设备创建默认分配给的租户
  - `productID` string, required

## Response `200`

A successful response.

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

## Changes

- **2026-03-27** `b9582d0ab6af` — 1 breaking, 1 info
  - added required request body
  - added the media type `application/json` for the response with the status `200`
- **2025-03-24** `bfbadffa6086` — 1 info
  - endpoint added
- **2025-03-14** `e87dbcac5d9e` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/unitedrhino/apis/things-api/changes/api/v1/things/product/config/update/post.md)

---

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