Delete a specified client session
Last updated 7 months ago
Get Started
News
Company
© Seam Labs, Inc. All rights reserved.
Deletes a specified .
Specify the desired client session by including the corresponding client_session_id in the request body.
client_session_id
Returns a Boolean ok status indicator.
ok
String Required
ID of the desired client session
await seam.clientSessions.delete({ client_session_id: "639eb8af-19a9-4ae5-817c-6ad08fd078e7", })
{ ok: true }
OK
const response = await fetch('https://connect.getseam.com/client_sessions/delete', { method: 'POST', headers: { "Authorization": "Bearer API Key", "Content-Type": "application/json" }, body: JSON.stringify({ "client_session_id": "123e4567-e89b-12d3-a456-426614174000" }), }); const data = await response.json();
{ "ok": false }