Was this helpful?
Creates a code to adopt a device. The adopt code is valid for a limited time.
Name of the device that will be shared to the adopter
POST /device/create-adopt-code HTTP/1.1 Host: api.bringyour.com Content-Type: application/json Accept: */* Content-Length: 43 { "device_name": "text", "device_spec": "text" }
{ "adopt_code": "text", "adopt_secret": "text", "duration_minutes": 1, "error": { "message": "text" } }