---
title: "Delete a namespace"
method: DELETE
path: "/ai/memory/namespaces/{namespace}"
tags: ["Namespaces"]
---

# Delete a namespace

`DELETE /ai/memory/namespaces/{namespace}`

Delete a namespace and every profile and memory in it. `default` cannot be deleted. This cannot be undone.

## Path parameters

- `namespace` string, required — The namespace to delete. `default` cannot be deleted.

## Response `204`

The namespace was deleted

## Other responses

- `401` — Unauthorized
- `404` — No such namespace
- `502` — Upstream error

## Changes

> 108 revisions in range; 1 not diffed.

- **2026-09-30** `ba3801dff4d3` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/team-telnyx/apis/telnyx-api-2/changes/ai/memory/namespaces/:namespace/delete.md)

---

[API](https://skmtc.dev/team-telnyx/apis/telnyx-api-2.md) · [All operations](https://skmtc.dev/team-telnyx/apis/telnyx-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/team-telnyx/apis/telnyx-api-2/revisions/3957c3463375?raw)
