Skip to content
Docs

    Delete API Key

    client.apiKeys.delete(stringapiKeyID, RequestOptionsoptions?): void
    DELETE/v1/api_keys/{api_key_id}

    Delete an API key

    ParametersExpand Collapse
    apiKeyID: string

    Delete API Key

    import NirvanaLabs from '@nirvana-labs/nirvana';
    
    const client = new NirvanaLabs({
      apiKey: process.env['NIRVANA_LABS_API_KEY'], // This is the default and can be omitted
    });
    
    await client.apiKeys.delete('api_key_id');
    Returns Examples