Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

232 B
Raw Blame
import type { CreateApiKeyResponse } from "metabase-types/api";

export const createApiKey = (name: string, group_id: number) => {
  return cy.request<CreateApiKeyResponse>("POST", "/api/api-key", {
    name,
    group_id,
  });
};