NewWacht Bench is live — AI-assisted development for Wacht

deleteRateLimitScheme()

Removes the scheme from the current deployment.

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 deleteRateLimitScheme(slug: string) {  const client = await wachtClient();  await client.apiKeys.deleteRateLimitScheme(slug);}

Signature

function deleteRateLimitScheme(  slug: string,): Promise<void>

Behavior

  • Performs a destructive operation against the target resource.
  • Callers should treat this as irreversible unless a separate restore flow exists.

On this page