| [ Web Proxy ] |
| Viewing: https://developers.cloudflare.com/api/resources/ai_search/subresources/namespaces/methods/delete | [Back] [Original] |
Permanently delete a namespace. The namespace must be empty (no instances), and the default namespace cannot be deleted.
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
Authorization: Bearer Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYYThe previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.
X-Auth-Email: user@example.comThe previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.
X-Auth-Key: 144c9defac04969c7bfad8efaa8ea194curl https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/ai-search/namespaces/$NAME \
-X DELETE \
-H "Authorization: Bearer $CLOUDFLARE_API_TOKEN"{
"result": {},
"success": true
}{
"result": {},
"success": true
}| Web Proxy Viewer | New URL | Original Page |