Delete a conversation
DELETE
https://server.heyrik.com/api/v1/chat/sessions/{id}Path parameters
idRequiredReplace {id} in the request URL with the value for this resource.
Headers
AuthorizationstringRequiredUse Bearer $HEYRIK_API_KEY with an account-scoped API key. Keep the key on your server.
Response
Explore the example values. This is not a complete response schema.
dataobjectExplore 2 properties
okbooleanExample true
idstringExample "cht_c09b79cc"
DELETE/chat/sessions/{id}
cURL
curl -X DELETE https://server.heyrik.com/api/v1/chat/sessions/cht_c09b79cc \
-H "Authorization: Bearer $HEYRIK_API_KEY"Response example
JSON
{ "data": { "ok": true, "id": "cht_c09b79cc" } }Illustrative examples · No live request is sent
