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

# Delete an Aria Agent Cloud Session by ID

> Delete an Aria Agent Cloud session by identifier along with its turns, items, memory fragments, and subagents. The operation is irreversible.

Delete a session and all associated state: turns, items, memory fragments, and subagents. The operation is irreversible.

## Endpoint

```http theme={null}
DELETE /v1/agents/sessions/{session_id}
```

## Authentication

`Authorization: Bearer <api_key>` or `Authorization: ApiKey <api_key>`.

## Path parameters

<ParamField path="session_id" type="string" required>
  Session identifier.
</ParamField>

## Response

<ResponseField name="id" type="string">
  Deleted session identifier.
</ResponseField>

<ResponseField name="object" type="string">
  Always `agent.session.deleted`.
</ResponseField>

<ResponseField name="deleted" type="boolean">
  Always `true` on success.
</ResponseField>

## Example

```bash theme={null}
curl -X DELETE https://agent.example.com/v1/agents/sessions/sess_0198c... \
  -H "Authorization: Bearer $ARIA_AGENT_KEY"
```

```json theme={null}
{
  "id": "sess_0198c...",
  "object": "agent.session.deleted",
  "deleted": true
}
```

<Warning>
  Deleted sessions cannot be recovered. Archive with [Update Session](/api-reference/agent/sessions/update) if you need to keep the transcript.
</Warning>


## Related topics

- [Delete an Aria Agent Cloud Agent Definition](/api-reference/agent/agents/delete.md)
- [Retrieve an Aria Agent Cloud Session by ID](/api-reference/agent/sessions/get.md)
- [List Aria Agent Cloud Sessions](/api-reference/agent/sessions/list.md)
- [Update an Aria Agent Cloud Session](/api-reference/agent/sessions/update.md)
- [Create Aria Agent Cloud Session for an Agent](/api-reference/agent/sessions/create.md)
