DeleteAction: {
actionType: "sanity.action.document.delete";
includeDrafts: string[];
publishedId: string;
purge?: boolean;
}
Type declaration
actionType: "sanity.action.document.delete"
includeDrafts: string[]
publishedId: string
Optional
purge?: boolean
Deletes the published version and optionally drafts. Fails if any unspecified drafts exist. Can optionally purge document history.