Objective
This article helps you set or clear the expiry on a Sync Map, so the Map and all of its items are 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 reading Twilio Sync Services to open the Map, and updating them to save the change.
Procedure
- In the Twilio Console, select Builder tools in the left sidebar.
- Select Sync, then Services.
- In the Name column, select the Service that holds the Map.
- Select the Maps tab.
- Select the Map's SID to open it, then select Edit Map. You can also stay on the Maps tab, open the Map's row actions menu, and select Edit.
- In Time to live, enter how long in seconds before the Map expires and is deleted. Enter 0 to keep it indefinitely.
- Select Save changes. The console confirms with "Sync Map updated."
Additional Information
- Time to live must be a whole number of seconds between 0 and 31536000 (one year).
- Time to live is the only property of a Sync Map you can change after it is created the unique name is fixed at creation time.
- When the Map expires, all of its items and permissions are deleted with it.
This content was generated by AI and reviewed, edited, and verified by a human.