Adds new thing (deprecated)
POSThttps://apis.<domain>/iot/provision/mapping
Authorization: http
name: bearerAuthtype: httpscheme: bearerdescription: * Users access: "Authorization: Bearer <user_token>"
deprecated
This endpoint has been deprecated and may be removed in future versions of the API.
Adds new thing. Deprecated: use POST /things instead.
Authorization Action:
core:provision:mapping
Request
- application/json
Body
required
Provision thing request body
name string
tenant stringrequired
model stringrequired
init_id stringrequired
External identifier (MAC address or similar)
init_key stringrequired
External key
migration_key string
migration_key_quota int32
Responses
- 201
- 400
- 401
- 500
Created
Failed due to malformed JSON.
Missing or invalid access token provided.
Unexpected server-side error occurred.
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X POST 'https://apis.<domain>/iot/provision/mapping' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"name": "string",
"tenant": "string",
"model": "string",
"init_id": "string",
"init_key": "string",
"migration_key": "string",
"migration_key_quota": 0
}'