nabto_device_remove_tcp_tunnel_service_metadata()

DESCRIPTION

Remove a key-value pair from the metadata of a TCP tunnel service.

DECLARATION

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

PARAMETERS

device:
[in] The device instance.
serviceId:
[in] The unique id of a service on the device.
key:
[in] The key of the key-value pair.

RETURNS

NABTO_DEVICE_EC_OK if the key-value pair was removed or if no key-value pair was found. NABTO_DEVICE_EC_NOT_FOUND if no service with the given id was located on the device.