removeOrganizationMember()
Deletes an existing organization membership record.
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 organizationId: string = 'organizationid-123'; const memberId: string = 'memberid-123'; return client.organizations.removeOrganizationMember(organizationId, memberId);}Signature
function removeOrganizationMember( organizationId: string, memberId: string, client?: WachtClient,): Promise<void>Parameters
›organizationId: string;
organizationId: string;Identifier for the target resource.
›memberId: string;
memberId: string;Identifier for the target resource.