Skip to main content
DELETE
Requires version 2.0.1 or later of the Archetype platform.

Overview

This endpoint deletes a session that has ended, along with its event log.
Only an ended session can be deleted. While the session is running, this endpoint returns 409. Cancel it first.

Request

string
required
Session ses_ ID.

Response

Returns 204 No Content with an empty body on success.

Important Notes

  • Deleting a session is permanent.
  • 404 means the session doesn’t exist or isn’t visible to you.
  • 409 means the session is still running.