Skip to main content
Version: 2.0

Delete a chat

DELETE 

https://api.vectara.io/v2/chats/:chat_id

Delete a chat and any turns it contains permanently.

Request

Path Parameters

    chat_id stringrequired

    Possible values: Value must match regular expression cht_.+$

    The ID of the chat.

Header Parameters

    Request-Timeout integer

    Possible values: >= 1

    The API will make a best effort to complete the request in the specified seconds or time out.

    Request-Timeout-Millis integer

    Possible values: >= 1

    The API will make a best effort to complete the request in the specified milliseconds or time out.

Responses

Successfully deleted the chat.

Authorization: x-api-key

name: x-api-keytype: apiKeyin: header
curl -L -X DELETE 'https://api.vectara.io/v2/chats/:chat_id' \
-H 'x-api-key: <API_KEY_VALUE>'
Request Collapse all
Base URL
https://api.vectara.io
Auth
Parameters
— pathrequired
— header
— header
ResponseClear

Click the Send API Request button above and see the response here!