cURL
curl --request DELETE \ --url https://agent-service-511985928315.us-east4.run.app/api/assistants/threads/{threadId} \ --header 'Authorization: Bearer <token>' \ --header 'X-Envole-User-Id: <api-key>'
Deletes a session thread by its ID.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
External user identifier; not necessarily registered with Envole
Session thread deleted successfully.