Update Expiration Time
You can make a conversation expire by adding a Time-to-live (TTL) or expiration time to a Service by updating your resource with this query. When you update the TTL or service expiration time, you overwrite previous updates and any expiration time set in your configuration.
You can also use ttl and expiration_time attributes in Service Start Events and Service End Events.
Updating the conversation expiration time has a performance impact and uses as much CPU than three event queries.
You need a WRITE role to use this request.
||The id of the service to request.|
||Time at which the service should expire, using the ISO 8601 representation: [YYYY]-[MM]-[DD]T[HH]:[mm]:[ss].[SSS]Z
||Time-to-live of the full conversation in seconds from this event time. This parameter takes precedence over expiration_time parameter which is discarded if you pass both parameters.|
The following table shows the correct response for a successful request. In case of error, you will see standard HTTP response error codes.
Response: 200 OK