UNPKG

venice-ai-sdk-apl

Version:

A comprehensive SDK for the Venice AI API with CLI support, programmatic CLI usage, CLI-style interface, and interactive demo

44 lines (43 loc) 1.08 kB
/** * API Keys Delete Resource * * This module provides methods for interacting with the API Keys Delete API. * It allows you to delete API keys. * * @example * ```typescript * import { VeniceAI } from 'venice-ai-sdk-apl'; * * const venice = new VeniceAI({ * apiKey: 'your-api-key', * }); * * // Delete an API key * const response = await venice.apiKeys.delete({ * id: 'api-key-id' * }); * * console.log(response.success); * ``` */ import { BaseResource } from '../base-resource'; import { DeleteApiKeyParams, DeleteApiKeyResponse } from '../../types/api-keys'; /** * API Keys Delete Resource */ export declare class ApiKeysDeleteResource extends BaseResource { /** * Deletes an API key * * @param params - Parameters for deleting an API key * @returns Promise that resolves with the deletion result * * @example * ```typescript * const response = await venice.apiKeys.delete({ * id: 'api-key-id' * }); * ``` */ deleteKey(params: DeleteApiKeyParams): Promise<DeleteApiKeyResponse>; }