diff --git a/apps/dashboard/src/components/settings/ApiKeys/Create/index.tsx b/apps/dashboard/src/components/settings/ApiKeys/Create/index.tsx index 72daef47e23..c86394d4ad2 100644 --- a/apps/dashboard/src/components/settings/ApiKeys/Create/index.tsx +++ b/apps/dashboard/src/components/settings/ApiKeys/Create/index.tsx @@ -156,8 +156,8 @@ function CreateAPIKeyForm(props: { const formattedValues = { name: values.name, domains: toArrFromList(values.domains), - // enable all services - services: SERVICES.map((srv) => ({ + // enable all services (except insight) + services: SERVICES.filter((s) => s.name !== "insight").map((srv) => ({ name: srv.name, targetAddresses: ["*"], enabled: true,