Set up Preview link with contentful cli

Hi!

We can set-up a preview link in Contentful-UI (https://www.contentful.com/help/preview/).
Though, we would like to set up this preview link programmatically with contentful cli. Is that possible?

I know using preview API is one possibility to set up previews. But we want those previews to be set by developers and available in Contentful UI for content authors/editors.

I asked the same question in Slack community and got the answer there:

Unfortunately it’s not currently possible to programmatically update the preview URLS with the Content Management API at present. However, there is visibility on this issue and it’s something being discussed. I’ve submitted a ticket to the product team to highlight that it’s a desirable feature!
Thank you for your question and sorry it’s not the outcome you wanted!