nabto_device_remove_tcp_tunnel_service()

DESCRIPTION

Remove a tunnel service from the device

DECLARATION

NABTO_DEVICE_DECL_PREFIX NabtoDeviceError NABTO_DEVICE_API
nabto_device_remove_tcp_tunnel_service(NabtoDevice* device, const char* serviceId)

PARAMETERS

device:
[in] The device instance
serviceId:
[in] ID of service to remove

RETURN VALUES

NABTO_DEVICE_EC_OK if the service was removed NABTO_DEVICE_EC_NOT_FOUND if the service ID was not found

EXAMPLES

None.