---
title: "Delete agent session"
method: DELETE
path: "/v2/agents/{agent_key}/sessions/{session_key}"
tags: ["Agent Sessions"]
---

# Delete agent session

`DELETE /v2/agents/{agent_key}/sessions/{session_key}`

Permanently deletes an agent session. This action cannot be undone.

## Path parameters

- `agent_key` string, required — A unique key that identifies an agent.
- `session_key` string, required — A unique key that identifies an agent session.

## Headers

- `Request-Timeout` integer
- `Request-Timeout-Millis` integer

## Response `204`

The agent session is deleted.

## Other responses

- `403` — Permissions do not allow deleting this agent session.
- `404` — Agent or session not found.

---

[API](https://skmtc.net/vectara/apis/vectara-rest-api-v2.md) · [All operations](https://skmtc.net/vectara/apis/vectara-rest-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vectara/vectara-rest-api-v2/versions/e85040b266cc/schema)
