• Remove either a gateway or a sub device

    Returns

    Function's result

    Example

    const res = await iot-device-sdk-react.removeDevice({ devId: "ebc2e6912054fa2a03ws5h" }, true)
    console.log(res)

    Parameters

    Returns Promise<boolean>