All pages
Powered by GitBook
1 of 1

Share status

post

The status of the shared device. The status can be one of:

  • unassociated
  • associated pending confirmation
  • associated
Authorizations
Body
share_codestringOptional
Responses
200Success
application/json
post
POST /device/share-status HTTP/1.1
Host: api.bringyour.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 21

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