---
title: "Delete Directory"
method: DELETE
path: "/agent-knowledge/directories/{directory_id}"
tags: ["agent-knowledge"]
---

# Delete Directory

`DELETE /agent-knowledge/directories/{directory_id}`

## Request

- Base URL: `https://api.traversal.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.traversal.com/agent-knowledge/directories/{directory_id}`
- Auth: none declared

## Path parameters

- `directory_id` string, required

## Response `200`

Successful Response

- DeleteAgentKnowledgeDirectoryResponse
  - `id` string, required
  - `kind` 'directory', required
  - `parentPath` string, required
  - `path` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/traversal/apis/traversal-api.md) - [All operations](https://skmtc.dev/traversal/apis/traversal-api/llms.txt) - [OpenAPI document](https://skmtc.dev/traversal/apis/traversal-api/revisions/31e1a8b7cf89?raw)
