Skip to content

The open alternative to Salesforce, designed for AI.

316 B
Raw Blame
import { type CoreApiClient } from 'twenty-client-sdk/core';

export const destroyTeamsUserLink = async ({
  client,
  id,
}: {
  client: Pick<CoreApiClient, 'mutation'>;
  id: string;
}): Promise<void> => {
  await client.mutation({
    destroyTeamsUserLink: {
      __args: { id },
      id: true,
    },
  });
};