NewWacht Bench is live — AI-assisted development for Wacht

deleteApiAuthApp()

Removes an API auth app and invalidates future key usage for that app scope.

Usage

The following example shows a basic usage of the backend client from @wacht/nextjs/server.

import { wachtClient } from '@wacht/nextjs/server';export async function example() {  const client = await wachtClient();  const appName: string = 'value';  return client.apiKeys.deleteApiAuthApp(appName);}

Signature

function deleteApiAuthApp(  appName: string,): Promise<void>

Parameters

appName?: string | undefined;
API auth app slug to delete.

On this page