Create share code
Creates a code to share a device.
Authorizations
Body
client_idstringOptional
udid
device_namestringOptional
Name of the device that will be shared to the guest
Responses
200Success
application/json
post
POST /device/create-share-code HTTP/1.1
Host: api.bringyour.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 41
{
"client_id": "text",
"device_name": "text"
}
200Success
{
"share_code": "text",
"error": {
"message": "text"
}
}
Was this helpful?