I'm afraid this is currently not possible - the only way of setting this will be directly via UI.
I've created a new feature request for this which you can see at https://jira.atlassian.com/browse/FE-5718 - please feel free to add any comments to it. Also consider voting for it and adding yourself as a watcher to track its progress directly. You may refer to Atlassian's Policy about the implementation of new features.
Hi Atlassian Community, My name is Avni Barman, and I am a Product Manager on the Confluence Cloud team. Based on feedback from you, we are giving admins more power to create templates that a...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events