cURL
curl --request DELETE \ --url https://api.agentset.ai/v1/namespace/{namespaceId} \ --header 'Authorization: Bearer <token>'
{ "success": true, "data": { "id": "<string>", "name": "<string>", "slug": "<string>", "organizationId": "<string>", "createdAt": "<string>", "embeddingConfig": { "provider": "<string>", "model": "text-embedding-3-small", "apiKey": "<string>" }, "vectorStoreConfig": { "provider": "<string>", "apiKey": "<string>", "indexHost": "https://example.svc.aped-1234-a56b.pinecone.io" } } }
Delete a namespace for the authenticated organization. This will delete all the data associated with the namespace.
Default authentication mechanism
The id of the namespace to delete.
The deleted namespace
The response is of type object.
object