Path parameters
-
The SID of the Sync Service with the Sync List resource to update.
-
The SID of the Sync List resource to update. Can be the Sync List resource's
sid
or itsunique_name
.
Body
-
An alias for
collection_ttl
. If both are provided, this value is ignored. -
How long, in seconds, before the Sync List expires (time-to-live) and is deleted.
POST
/v1/Services/{ServiceSid}/Lists/{Sid}
curl \
--request POST 'https://sync.twilio.com/v1/Services/{ServiceSid}/Lists/{Sid}' \
--user "username:password" \
--header "Content-Type: application/x-www-form-urlencoded" \
--data 'Ttl=3600'
Request example
{"Ttl"=>3600}
Response examples (200)
{
"sid": "ESaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"url": "https://sync.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Lists/ESaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"links": {
"items": "https://sync.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Lists/ESaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Items",
"permissions": "https://sync.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Lists/ESaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Permissions"
},
"revision": "revision",
"created_by": "created_by",
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"service_sid": "ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"unique_name": "unique_name",
"date_created": "2015-07-30T20:00:00Z",
"date_expires": "2015-07-30T21:00:00Z",
"date_updated": "2015-07-30T20:00:00Z"
}