A AuthMS API Wiki API Reference iam.tianv.com →

POST /admin/iots

创建一个新的 Non-Human Identity (NHI) IoT Device

Admin/IoTs `bearerAuth` application/json

Request Body

Schema: domain.CreateDeviceRequest

FieldTypeRequiredExampleConstraintsDescription
name string Yes
firmware_ver string No
hardware_id string No
manufacturer string No
workload_subtype string No

Responses

StatusDescriptionSchema
201创建的 Devicegitee_com_linmes_authms_base_dto.DataResponse-gitee_com_linmes_authms_micro-services_identity-service_internal_device_domain_DeviceInfo

Referenced Schemas

gitee_com_linmes_authms_base_dto.DataResponse-gitee_com_linmes_authms_micro-services_identity-service_internal_device_domain_DeviceInfo

FieldTypeRequiredExampleConstraintsDescription
code integer No
data gitee_com_linmes_authms_micro-services_identity-service_internal_device_domain.DeviceInfo No
message string No
timestamp string No

gitee_com_linmes_authms_micro-services_identity-service_internal_device_domain.DeviceInfo

FieldTypeRequiredExampleConstraintsDescription
created_at string No
firmware_ver string No
hardware_id string No
identity_id string No
manufacturer string No
name string No
owner_id string No
pairing_code string No
status string No
updated_at string No
workload_subtype string No