---
title: "Delete Messages Sessions"
method: DELETE
path: "/api/v1/monitor/messages/sessions"
tags: ["Monitor"]
---

# Delete Messages Sessions

`DELETE /api/v1/monitor/messages/sessions`

Bulk delete messages for multiple sessions at once.

Only deletes messages from sessions belonging to flows owned by the current user.

Args:
    session_ids: List of session IDs to delete (max 500)
    session: Database session
    current_user: Current authenticated user

Returns:
    Confirmation message with count of deleted sessions

Raises:
    HTTPException: 400 if session_ids list exceeds 500 items
    HTTPException: 500 if database operation fails

## Request body

- string[]

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/langflow-ai/apis/langflow.md) · [All operations](https://skmtc.net/langflow-ai/apis/langflow/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/langflow-ai/langflow/revisions/22962dc5e81b/schema)
