> ## Documentation Index
> Fetch the complete documentation index at: https://docs.open.cx/llms.txt
> Use this file to discover all available pages before exploring further.

> Delete a session comment — Removes an internal note from a chat session. Only the agent who authored the note may delete it.

# Delete comment

Deletes an internal note. The note stops appearing in the inbox and in [List history](/api-reference/chat-sessions/list_history), and the endpoint answers `204` with no body.

The acting agent is passed as the `agent_id` **query parameter**, since a `DELETE` carries no body:

```bash theme={"dark"}
curl -X DELETE "https://api.open.cx/chat/sessions/{session_id}/comments/{comment_uuid}?agent_id=42" \
  -H "Authorization: Bearer $OPENCX_API_KEY"
```

Only the note's author may delete it — anyone else receives a `403`. A `comment_uuid` that belongs to a different session returns a `404`.
