---
title: "Cache Create Namespace"
method: POST
path: "/api/v1.cache.namespace.create"
tags: ["Cache"]
---

# Cache Create Namespace

`POST /api/v1.cache.namespace.create`

Create cache namespace

## Request body

- CacheCreateNamespaceIn
  - `name` string, required
  - `eviction_policy` 'NoEviction'

## Response `200`

- CacheCreateNamespaceOut
  - `name` string, required
  - `eviction_policy` 'NoEviction', required
  - `created` string, date-time, required
  - `updated` string, date-time, required

## Other responses

- `400`
- `401`
- `403`
- `422`

## Changes

- **2026-03-31** `f62be26d2a53` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/svix/apis/diom-api/changes/api/v1.cache.namespace.create/post.md)

---

[API](https://skmtc.dev/svix/apis/diom-api.md) · [All operations](https://skmtc.dev/svix/apis/diom-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/svix/diom-api/revisions/cb1523fc3cdd/schema)
