Skip to main content
naive.accountKits manages policy templates. Root client only.
await naive.accountKits.list();
await naive.accountKits.create({
  name: "Pro",
  connections_config: { mode: "allowlist", toolkits: ["gmail", "slack"] },
});
await naive.accountKits.get(kitId);
await naive.accountKits.update(kitId, { connections_config });
await naive.accountKits.delete(kitId);
await naive.accountKits.assignUser(kitId, userId);
See AccountKits for the config shape.