Adopt status

post

The status of the adopt-code device. The status can be one of:

  • unassociated
  • associated pending confirmation
  • associated
Body
adopt_codestringOptional
Responses
200Success
application/json
post
POST /device/adopt-status HTTP/1.1
Host: api.bringyour.com
Content-Type: application/json
Accept: */*
Content-Length: 21

{
  "adopt_code": "text"
}
200Success
{
  "pending": true,
  "associated_network_name": "text",
  "error": {
    "message": "text"
  }
}

Was this helpful?