NewWacht Bench is live — AI-assisted development for Wacht

makeEmailPrimary()

Calls the corresponding backend method for this capability.

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();  return client.users.makeEmailPrimary();}

Signature

function makeEmailPrimary(...args: unknown[]): Promise<unknown>

On this page