Adding Custom Metadata to a Device
You can add or change custom metadata for a device.
device_update = seam.devices.update(
device = "30fd243b-3054-4384-a713-5487076a3826",
custom_metadata = {
"internal_account_id": "user-1"
}
)
pprint(device_update)Truecurl -X 'POST' \
'https://connect.getseam.com/devices/update' \
-H 'accept: application/json' \
-H 'Authorization: Bearer ${API_KEY}' \
-H 'Content-Type: application/json' \
-d '{
"device_id": "30fd243b-3054-4384-a713-5487076a3826",
"custom_metadata": {
"id": "internal_id_1"
}
}'{
"ok": true
}Last updated
Was this helpful?

