Skip to main content
DELETE
/
api
/
sessions
/
{sessionId}
/
chats
/
{chatId}
Delete session chat
curl --request DELETE \
  --url https://api.recoupable.dev/api/sessions/{sessionId}/chats/{chatId} \
  --header 'x-api-key: <api-key>'
{
  "success": true
}

Authorizations

x-api-key
string
header
required

Path Parameters

sessionId
string
required

The id of the parent session.

chatId
string
required

The id of the chat being deleted.

Response

Chat deleted successfully.

success
enum<boolean>
required
Available options:
true