Delete a namespace owned by the authenticated user. The namespace must not contain any servers. Skills and connections in the namespace will be deleted automatically.
DELETE
/
namespaces
/
{name}
JavaScript
Copy
Ask AI
import Smithery from '@smithery/api';const client = new Smithery({ apiKey: process.env['SMITHERY_API_KEY'], // This is the default and can be omitted});const namespace = await client.namespaces.delete('xxx');console.log(namespace.name);
import Smithery from '@smithery/api';const client = new Smithery({ apiKey: process.env['SMITHERY_API_KEY'], // This is the default and can be omitted});const namespace = await client.namespaces.delete('xxx');console.log(namespace.name);
Copy
Ask AI
{ "success": true, "name": "myorg"}
Assistant
Responses are generated using AI and may contain mistakes.