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

# Delete a namespace

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

## Request

- Base URL: `https://api.telnyx.com/v2`
- URL: `https://api.telnyx.com/v2/ai/memory/namespaces/{namespace}`
- Auth: HTTP bearer

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

- **2026-10-15** `a72569d69430`: 1 info
  - endpoint added

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

---

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