From 0a0fb95efcd81a83b45af209856fdbc937cbbae2 Mon Sep 17 00:00:00 2001 From: luc <44377201+LuChen-Microsoft@users.noreply.github.com> Date: Wed, 8 May 2024 13:27:42 -0700 Subject: [PATCH] Update Threads_CreateChatThread Example (#29034) * Update Threads_CreateChatThread Example * update the example for create chat thread --- .../examples/Threads_CreateChatThread.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/specification/communication/data-plane/Chat/preview/2024-03-15-preview/examples/Threads_CreateChatThread.json b/specification/communication/data-plane/Chat/preview/2024-03-15-preview/examples/Threads_CreateChatThread.json index 9b4048f8e254..396e2417ea06 100644 --- a/specification/communication/data-plane/Chat/preview/2024-03-15-preview/examples/Threads_CreateChatThread.json +++ b/specification/communication/data-plane/Chat/preview/2024-03-15-preview/examples/Threads_CreateChatThread.json @@ -4,6 +4,10 @@ "api-version": "2024-03-15-preview", "createChatThreadRequest": { "topic": "Lunch", + "retentionPolicy": { + "kind": "threadCreationDate", + "deleteThreadAfterDays": 30 + }, "participants": [ { "communicationIdentifier": { @@ -59,6 +63,10 @@ "communicationUser": { "id": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_c94ff260-162d-46d6-94fd-e79f4d213715" } + }, + "retentionPolicy": { + "kind": "threadCreationDate", + "deleteThreadAfterDays": 30 } }, "invalidParticipants": [