---
title: "设备操作认证"
method: POST
path: "/api/v1/things/device/auth/access"
tags: ["things/device/auth", "thingsDeviceAuth"]
---

# 设备操作认证

`POST /api/v1/things/device/auth/access`

## Request body

- DeviceAuthAccessReq
  - `username` string — 用户名
  - `topic` string — 主题
  - `clientID` string — clientID
  - `access` string — 操作
  - `ip` string — 访问的ip地址

## Response `200`

A successful response.

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

## Changes

- **2025-03-14** `e87dbcac5d9e` — 2 breaking
  - removed the request body
  - removed the media type `application/json` for the response with the status `200`

[Change history](https://skmtc.dev/unitedrhino/apis/things-api/changes/api/v1/things/device/auth/access/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/65bf12e56421/schema)
