Undeletes a dataset which is within time travel window based on datasetId. If a time is specified, the dataset version deleted at that time is undeleted, else the last live version is undeleted.
HTTP request
POST https://bigquery.googleapis.com/bigquery/v2/projects/{projectId}/datasets/{datasetId}:undelete
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-20 UTC."],[[["This webpage outlines how to undelete a dataset within its time travel window using the BigQuery API."],["The process involves sending an HTTP POST request to a specific URL, including the project ID and dataset ID in the path."],["The request body must be empty, and upon successful execution, the response body will return an instance of the `Dataset`."],["Authorization for this action requires either the `https://www.googleapis.com/auth/bigquery` or `https://www.googleapis.com/auth/cloud-platform` OAuth scopes."],["If a time is specified, the dataset version deleted at that time is undeleted, otherwise the last live version will be restored."]]],[]]