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
}

Documentation Index

Fetch the complete documentation index at: https://smithery.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

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