watchtower-node-sdk
Version:
A TypeScript Node.js SDK for the Watchtower API, providing API key management, connection string generation, and more
12 lines (11 loc) • 422 B
TypeScript
import { BaseEndpoint } from '../base';
import { RollAPIKeyRequest, RolledAPIKey } from './types';
export declare class APIKeyEndpoint extends BaseEndpoint {
constructor(client: any);
/**
* Roll an API key (organization, app, or tenant)
* @param data - The roll API key request
* @returns Promise with the new rolled API key
*/
rollAPIKey(data: RollAPIKeyRequest): Promise<RolledAPIKey>;
}