Skip to main content
DELETE
/
organizations
/
{orgId}
/
api-keys
/
{keyId}
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 apiKey = await client.organizations.apiKeys.delete('keyId', { orgId: 'orgId' });

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

Authorizations

Authorization
string
header
required

Smithery API key as Bearer token

Path Parameters

orgId
string
required
keyId
string
required

Response

API key revoked

success
boolean
required