الانتقال إلى المحتوى الرئيسي
DELETE
Delete a namespace

التفويضات

Authorization
string
header
مطلوب

A key from conare.ai/dashboard/keys with full access, some namespaces, or models only (/embed, /rerank, /v1, /v2/rerank, /parse).

الترويسات

Idempotency-Key
string

One key (a UUID) per logical write, sent again on each retry: a repeat within 24 hours replays the first successful answer.

Required string length: 1 - 255
Pattern: ^[\x21-\x7e]+$

معلمات المسار

namespace
string
مطلوب

The namespace name. 1-64 characters of a-z 0-9 _ -, starting with a letter or digit.

Pattern: ^[a-z0-9][a-z0-9_-]{0,63}$
أمثلة:

"docs"

"user-42"

معلمات الاستعلام

force
boolean
افتراضي:false

true: also delete every other source writing into the namespace.

الاستجابة

Deleted.

deleted
boolean
مطلوب
sources_deleted
string[]
مطلوب

The ids of the sources deleted with the namespace.