Pistis
API referenceSessions

End a session

DELETE
/sessions/{id}

Deletes its sandbox and keeps the conversation. Ending twice is fine.

Authorization

bearer
headerAuthorizationBearer <token>

An API token

Path Parameters

id*string

A session id

Response Body

Ended

application/json
  1. response
ended*unknown
Example Request
curl -X DELETE 'http://127.0.0.1:7777/sessions/ses_6c1f2a0b9d3e4f5a6b7c'
Example Response
{  "ended": true}