cURL
curl --request POST \ --url https://platform-backend.getalchemystai.com/api/v1/context/delete \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "source": "support-inbox", "by_doc": true, "by_id": false } '
{}
Deletes context data based on provided parameters
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Source identifier for the context
Optional user ID
Optional organization ID
Flag to delete by document
Flag to delete by ID
Successfully deleted context
The response is of type object.
object