Skip to main content
DELETE
/
api
/
sessions
/
:id
curl -X DELETE "https://app.joip.io/api/sessions/123" \
  -H "Cookie: connect.sid=YOUR_SESSION_COOKIE"
// Empty response body on success

Authentication

This endpoint requires authentication. Users can only delete sessions they own.

Path Parameters

id
integer
required
The unique session ID to delete

Response

Returns HTTP 204 No Content on successful deletion.
curl -X DELETE "https://app.joip.io/api/sessions/123" \
  -H "Cookie: connect.sid=YOUR_SESSION_COOKIE"
// Empty response body on success

Notes

  • This operation is permanent and irreversible
  • All associated media items are deleted via database cascade
  • For manual sessions, the entire Supabase storage folder users/{userId}/manual-sessions/{sessionId}/ is deleted
  • Any share codes associated with the session are also removed
  • Community snapshots (if shareToCommunity was enabled) are also deleted
  • Activity is tracked for analytics
  • Consider downloading session data before deletion if you need to preserve it

Build docs developers (and LLMs) love