Unpins a file from IPFS. For security purposes, this method requires a secret key to be set in the ThirdwebClient instance.
import { unpin } from "thirdweb"; const result = await unpin({ client: thirdwebClient, cid: "QmTzQ1N1z1Q1N1z1Q1N1z1Q1N1z1Q1N1z1Q1N1z1Q1N1z1",});
function unpin(options: UnpinOptions): Promise<void>;
The options for unpinning the file.
let options: { cid: string; client: ThirdwebClient };
let returnType: Promise<void>;