Usage
Returns
Parameters
name
- Type:
string
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Pinata SDK groups.private.create makes a new private file group on Pinata so you can organize private IPFS uploads. Requires org:groups:write.
import { PinataSDK } from "pinata";
const pinata = new PinataSDK({
pinataJwt: process.env.PINATA_JWT!,
pinataGateway: "example-gateway.mypinata.cloud",
});
const group = await pinata.groups.private.create({
name: "My New Group",
});
type GroupResponseItem = {
id: string;
name: string;
created_at: string;
};
stringconst group = await pinata.groups.private.create({
name: "My New Group",
});