DELETE
/
v1
/
namespace
/
{namespaceId}
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": "OPENAI",
      "model": "text-embedding-3-small",
      "apiKey": "<string>"
    },
    "vectorStoreConfig": {
      "provider": "PINECONE",
      "apiKey": "<string>",
      "indexHost": "https://example.svc.aped-1234-a56b.pinecone.io"
    }
  }
}

Authorizations

Authorization
string
header
required

Default authentication mechanism

Path Parameters

namespaceId
string
required

The id of the namespace to delete.

Response

204
application/json
The deleted namespace
success
boolean
required
data
object
required