Skip to main content
DELETE
Delete a session
Use this endpoint to remove a conversation and its stored messages.

What EDN does

Deletes the session and its messages.

Required headers

Request

Response

Returns 204 No Content with no body when the request succeeds.

Important behavior

  • Memories saved from the conversation are not deleted. Delete them with Delete a memory.

Errors

See Error handling.

Authorizations

Authorization
string
header
required

Your EDN API key, sent as Bearer YOUR_API_KEY. Create keys in the Console.

Path Parameters

session_id
string
required

The session ID.

Response

Successful Response