Skip to main content
DELETE
/
servers
/
{namespace}
/
secrets
/
{secretName}
JavaScript
import Smithery from '@smithery/api';

const client = new Smithery({
  apiKey: process.env['SMITHERY_API_KEY'], // This is the default and can be omitted
});

const response = await client.servers.secrets.deleteByNamespace('secretName', {
  namespace: 'namespace',
});

console.log(response.success);
{
  "success": true
}

Authorizations

Authorization
string
header
required

Smithery API key as Bearer token

Path Parameters

namespace
string
required
secretName
string
required

Response

Secret deleted

success
boolean
required