SUPPORT.TWILIO.COM END OF LIFE NOTICE: This site, support.twilio.com, is scheduled to go End of Life on February 27, 2024. All Twilio Support content has been migrated to help.twilio.com, where you can continue to find helpful Support articles, API docs, and Twilio blog content, and escalate your issues to our Support team. We encourage you to update your bookmarks and begin using the new site today for all your Twilio Support needs.

How do I change when a Message Stream expires?

Objective

This article helps you set or clear the expiry on a Sync Message Stream, so the Stream is either deleted after a period you choose or kept indefinitely.

 

Product

Twilio Sync

 

Environment

Twilio Console

 

User Account Permission/Role(s) Required

Your user role must allow listing Twilio Sync Services to open the Streams tab, and updating them to save the change.

 

Procedure

  1. In the Twilio Console, select Builder tools in the left sidebar.
  2. Select Sync, then Services.
  3. In the Name column, select the Service that holds the Stream.
  4. Select the Streams tab.
  5. Open the Stream's row actions menu and select Edit time to live.
  6. In Time to live (seconds), enter how long from now before the Stream expires and is deleted. Enter 0 to keep it indefinitely. This field is required.
  7. Select Save. The console confirms that the time to live was updated for that Stream, and the Expires column reflects the new value.

 

Additional Information

  • Time to live must be between 0 and 31536000 seconds (one year). A Stream with 0 shows Never in the Expires column.
  • The field starts empty rather than showing the current value, because Twilio reports only the resulting expiry date and not the time to live it was set from. Whatever you enter replaces the current value, and the countdown restarts from when you save.
  • Time to live is the only property of a Message Stream you can change after it is created, the unique name is fixed at creation time.

 

This content was generated by AI and reviewed, edited, and verified by a human.

Have more questions? Submit a request
Powered by Zendesk