Introduction
Shares a device from myadmin by instructing the gateway to forward data to an additional database, and initiates billing as per multi stream billing.
Parameters

apiKey

The active API Key.

ownerDatabase

The database that currently owns the device.

planId

Device Plan Id

privacyMode

The privacy mode for the device share

serialNos

The serial numbers of the desired devices.

sessionId

The active session ID.

sharedDatabase

The database you want to share the device with.

shareDevice

Whether to initiate or terminate a share

transferControl

Whether to transfer the control to the new database
Return value
Code samples