How to enable Public URL via cURL

Hi all,
is there any way to enable Public URL from within the balenaOS device itself, maybe via cURL?

I know this is possibile via the Balena SDK using enable_device_url() as shown on https://github.com/balena-io/balena-sdk-python/blob/master/balena/models/device.py#L704. This just seems to PATCH the value of is_web_accessibile, but I suppose this is not exposed by the Supervisor API, am I right?

Hey @daghemo

This is something that’s been on my todo list for a while, I just haven’t found the time yet. I’ve made an issue to track it, and I’ll attach it to this thread, so you’ll get an alert when it’s closed.

A workaround could be to create a cloud token, and provide that to the user application, using the sdk to perform the call.