Version.delete
Version.delete([{ waitForFinalization, signal }]) → Promise<Version>
Deletes the version. It can be restored with undelete().
Parameters:
waitForFinalization : boolean, default false
Whether to wait for the deletion to be finalized before resolving. When an historic version is deleted, its data is removed in the background, and until that finishes, the dataset's versions can't be released, unreleased, or deleted. Set this to true if you'll make another such change right after this one. Has no effect when deleting an unreleased version, which is deleted immediately.
signal : AbortSignal, optional
Stops waiting for the deletion to be finalized. This doesn't cancel the deletion.
Returns: Promise<Version>
Was this helpful?

