Skip to main content
POST
/
api
/
devices
/
bind
Bind Device To User
curl --request POST \
  --url https://api.example.com/api/devices/bind \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "owner_id": "<string>",
  "sn": "<string>",
  "sn_type": "notepin"
}
'
{
  "id": "<string>",
  "client_id": "<string>",
  "owner_id": "<string>",
  "type": "note",
  "sn": "<string>",
  "is_bind": true,
  "name": "<string>",
  "model": "<string>",
  "version": "<string>",
  "free_space": 123,
  "capacity": 123,
  "battery": 123,
  "setting": {},
  "config": {},
  "config_system": {},
  "updated_at": "2023-11-07T05:31:56Z"
}

Headers

Authorization
string
required

Body

application/json
owner_id
string
required
Maximum string length: 120
sn
string
required
Maximum string length: 200
sn_type
enum<string>
default:notepin

Device Type Enum

Available options:
note,
notepin,
notepro,
other

Response

OK

Device Model

id
string | null
client_id
string | null
owner_id
string | null
type
enum<string> | null

Device Type Enum

Available options:
note,
notepin,
notepro,
other
sn
string | null
is_bind
boolean | null
name
string | null
model
string | null
version
string | null
free_space
integer | null
capacity
integer | null
battery
integer | null
setting
Setting · object
config
Config · object
config_system
Config System · object
updated_at
string<date-time> | null