All pages
Powered by GitBook
1 of 1

Associations

get

The devices associated with the caller network. Associated devices are:

  • pending adoption devices
  • incoming shared devices (not owned by the caller network)
  • outgoing shared devices (owned by the caller network)
Authorizations
Responses
200Success
application/json
get
GET /device/associations HTTP/1.1
Host: api.bringyour.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200Success
{
  "pending_adoption_devices": [
    {
      "code": "text",
      "device_name": "text",
      "duration_minutes": 1
    }
  ],
  "incoming_shared_devices": [
    {
      "pending": true,
      "code": "text",
      "device_name": "text",
      "client_id": "text",
      "network_name": "text"
    }
  ],
  "outgoing_shared_devices": [
    {
      "pending": true,
      "code": "text",
      "device_name": "text",
      "client_id": "text",
      "network_name": "text"
    }
  ]
}