title: Is there a way to programmatically change TTL on a cosmos db Table
body: <p>As the title describes, I'm trying to change the TTL of a cosmos db table.
  I couldn't find anything in c#/powershell/arm templates
  Here is what I'm trying to achieve
  <a href="https://i.stack.imgur.com/vFTwi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vFTwi.png" alt="enter image description here" /></a>
  The only thing I was able to find is the api call that is triggered in azure portal, but I'm wondering if it is safe to use this API directly?
  <a href="https://i.stack.imgur.com/9hB5Y.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9hB5Y.png" alt="enter image description here" /></a></p>