Method: authorization.reset
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
撤銷 OAuth 權杖,並重設使用者/專案組合的用盡範圍。您可以使用這個方法,在使用者授予新的同意聲明後發出要求。這個方法也會指出先前的封存檔案可進行垃圾收集。當所有工作完成且所有封存檔都已下載時,您應呼叫此方法。請勿只在啟動新工作時呼叫。
HTTP 要求
POST https://dataportability.googleapis.com/v1/authorization:reset
這個網址使用 gRPC 轉碼語法。
回應主體
如果成功,回應主體會是空的 JSON 物件。
授權範圍
需要下列其中一種 OAuth 範圍:
https://www.googleapis.com/auth/dataportability.alerts.subscriptions
https://www.googleapis.com/auth/dataportability.businessmessaging.conversations
https://www.googleapis.com/auth/dataportability.chrome.autofill
https://www.googleapis.com/auth/dataportability.chrome.bookmarks
https://www.googleapis.com/auth/dataportability.chrome.dictionary
https://www.googleapis.com/auth/dataportability.chrome.extensions
https://www.googleapis.com/auth/dataportability.chrome.history
https://www.googleapis.com/auth/dataportability.chrome.reading_list
https://www.googleapis.com/auth/dataportability.chrome.settings
https://www.googleapis.com/auth/dataportability.discover.follows
https://www.googleapis.com/auth/dataportability.discover.likes
https://www.googleapis.com/auth/dataportability.discover.not_interested
https://www.googleapis.com/auth/dataportability.maps.aliased_places
https://www.googleapis.com/auth/dataportability.maps.commute_routes
https://www.googleapis.com/auth/dataportability.maps.commute_settings
https://www.googleapis.com/auth/dataportability.maps.ev_profile
https://www.googleapis.com/auth/dataportability.maps.factual_contributions
https://www.googleapis.com/auth/dataportability.maps.offering_contributions
https://www.googleapis.com/auth/dataportability.maps.photos_videos
https://www.googleapis.com/auth/dataportability.maps.questions_answers
https://www.googleapis.com/auth/dataportability.maps.reviews
https://www.googleapis.com/auth/dataportability.maps.starred_places
https://www.googleapis.com/auth/dataportability.myactivity.maps
https://www.googleapis.com/auth/dataportability.myactivity.myadcenter
https://www.googleapis.com/auth/dataportability.myactivity.play
https://www.googleapis.com/auth/dataportability.myactivity.search
https://www.googleapis.com/auth/dataportability.myactivity.shopping
https://www.googleapis.com/auth/dataportability.myactivity.youtube
https://www.googleapis.com/auth/dataportability.mymaps.maps
https://www.googleapis.com/auth/dataportability.order_reserve.purchases_reservations
https://www.googleapis.com/auth/dataportability.play.devices
https://www.googleapis.com/auth/dataportability.play.grouping
https://www.googleapis.com/auth/dataportability.play.installs
https://www.googleapis.com/auth/dataportability.play.library
https://www.googleapis.com/auth/dataportability.play.playpoints
https://www.googleapis.com/auth/dataportability.play.promotions
https://www.googleapis.com/auth/dataportability.play.purchases
https://www.googleapis.com/auth/dataportability.play.redemptions
https://www.googleapis.com/auth/dataportability.play.subscriptions
https://www.googleapis.com/auth/dataportability.play.usersettings
https://www.googleapis.com/auth/dataportability.saved.collections
https://www.googleapis.com/auth/dataportability.search_ugc.comments
https://www.googleapis.com/auth/dataportability.search_ugc.media.reviews_and_stars
https://www.googleapis.com/auth/dataportability.search_ugc.media.streaming_video_providers
https://www.googleapis.com/auth/dataportability.search_ugc.media.thumbs
https://www.googleapis.com/auth/dataportability.search_ugc.media.watched
https://www.googleapis.com/auth/dataportability.searchnotifications.settings
https://www.googleapis.com/auth/dataportability.searchnotifications.subscriptions
https://www.googleapis.com/auth/dataportability.shopping.addresses
https://www.googleapis.com/auth/dataportability.shopping.reviews
https://www.googleapis.com/auth/dataportability.streetview.imagery
https://www.googleapis.com/auth/dataportability.youtube.channel
https://www.googleapis.com/auth/dataportability.youtube.clips
https://www.googleapis.com/auth/dataportability.youtube.comments
https://www.googleapis.com/auth/dataportability.youtube.live_chat
https://www.googleapis.com/auth/dataportability.youtube.music
https://www.googleapis.com/auth/dataportability.youtube.playable
https://www.googleapis.com/auth/dataportability.youtube.posts
https://www.googleapis.com/auth/dataportability.youtube.private_playlists
https://www.googleapis.com/auth/dataportability.youtube.private_videos
https://www.googleapis.com/auth/dataportability.youtube.public_playlists
https://www.googleapis.com/auth/dataportability.youtube.public_videos
https://www.googleapis.com/auth/dataportability.youtube.shopping
https://www.googleapis.com/auth/dataportability.youtube.subscriptions
https://www.googleapis.com/auth/dataportability.youtube.unlisted_playlists
https://www.googleapis.com/auth/dataportability.youtube.unlisted_videos
詳情請參閱 OAuth 2.0 Overview。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[[["\u003cp\u003eRevokes OAuth tokens and resets exhausted scopes for a given user/project, allowing for new consent and garbage collection of previous archives.\u003c/p\u003e\n"],["\u003cp\u003eUses an empty POST request to \u003ccode\u003ehttps://dataportability.googleapis.com/v1/authorization:reset\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eRequires one of the numerous listed OAuth scopes related to Google services like Chrome, Maps, YouTube, and Play.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should be empty, and a successful response will also be empty.\u003c/p\u003e\n"],["\u003cp\u003eThis method should be called after all jobs are complete and archives are downloaded, not when starting a new job.\u003c/p\u003e\n"]]],[],null,["# Method: authorization.reset\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n\nRevokes OAuth tokens and resets exhausted scopes for a user/project pair. This method allows you to initiate a request after a new consent is granted. This method also indicates that previous archives can be garbage collected. You should call this method when all jobs are complete and all archives are downloaded. Do not call it only when you start a new job.\n\n### HTTP request\n\n`POST https://dataportability.googleapis.com/v1/authorization:reset`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body is an empty JSON object.\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/dataportability.alerts.subscriptions`\n- `https://www.googleapis.com/auth/dataportability.businessmessaging.conversations`\n- `https://www.googleapis.com/auth/dataportability.chrome.autofill`\n- `https://www.googleapis.com/auth/dataportability.chrome.bookmarks`\n- `https://www.googleapis.com/auth/dataportability.chrome.dictionary`\n- `https://www.googleapis.com/auth/dataportability.chrome.extensions`\n- `https://www.googleapis.com/auth/dataportability.chrome.history`\n- `https://www.googleapis.com/auth/dataportability.chrome.reading_list`\n- `https://www.googleapis.com/auth/dataportability.chrome.settings`\n- `https://www.googleapis.com/auth/dataportability.discover.follows`\n- `https://www.googleapis.com/auth/dataportability.discover.likes`\n- `https://www.googleapis.com/auth/dataportability.discover.not_interested`\n- `https://www.googleapis.com/auth/dataportability.maps.aliased_places`\n- `https://www.googleapis.com/auth/dataportability.maps.commute_routes`\n- `https://www.googleapis.com/auth/dataportability.maps.commute_settings`\n- `https://www.googleapis.com/auth/dataportability.maps.ev_profile`\n- `https://www.googleapis.com/auth/dataportability.maps.factual_contributions`\n- `https://www.googleapis.com/auth/dataportability.maps.offering_contributions`\n- `https://www.googleapis.com/auth/dataportability.maps.photos_videos`\n- `https://www.googleapis.com/auth/dataportability.maps.questions_answers`\n- `https://www.googleapis.com/auth/dataportability.maps.reviews`\n- `https://www.googleapis.com/auth/dataportability.maps.starred_places`\n- `https://www.googleapis.com/auth/dataportability.myactivity.maps`\n- `https://www.googleapis.com/auth/dataportability.myactivity.myadcenter`\n- `https://www.googleapis.com/auth/dataportability.myactivity.play`\n- `https://www.googleapis.com/auth/dataportability.myactivity.search`\n- `https://www.googleapis.com/auth/dataportability.myactivity.shopping`\n- `https://www.googleapis.com/auth/dataportability.myactivity.youtube`\n- `https://www.googleapis.com/auth/dataportability.mymaps.maps`\n- `https://www.googleapis.com/auth/dataportability.order_reserve.purchases_reservations`\n- `https://www.googleapis.com/auth/dataportability.play.devices`\n- `https://www.googleapis.com/auth/dataportability.play.grouping`\n- `https://www.googleapis.com/auth/dataportability.play.installs`\n- `https://www.googleapis.com/auth/dataportability.play.library`\n- `https://www.googleapis.com/auth/dataportability.play.playpoints`\n- `https://www.googleapis.com/auth/dataportability.play.promotions`\n- `https://www.googleapis.com/auth/dataportability.play.purchases`\n- `https://www.googleapis.com/auth/dataportability.play.redemptions`\n- `https://www.googleapis.com/auth/dataportability.play.subscriptions`\n- `https://www.googleapis.com/auth/dataportability.play.usersettings`\n- `https://www.googleapis.com/auth/dataportability.saved.collections`\n- `https://www.googleapis.com/auth/dataportability.search_ugc.comments`\n- `https://www.googleapis.com/auth/dataportability.search_ugc.media.reviews_and_stars`\n- `https://www.googleapis.com/auth/dataportability.search_ugc.media.streaming_video_providers`\n- `https://www.googleapis.com/auth/dataportability.search_ugc.media.thumbs`\n- `https://www.googleapis.com/auth/dataportability.search_ugc.media.watched`\n- `https://www.googleapis.com/auth/dataportability.searchnotifications.settings`\n- `https://www.googleapis.com/auth/dataportability.searchnotifications.subscriptions`\n- `https://www.googleapis.com/auth/dataportability.shopping.addresses`\n- `https://www.googleapis.com/auth/dataportability.shopping.reviews`\n- `https://www.googleapis.com/auth/dataportability.streetview.imagery`\n- `https://www.googleapis.com/auth/dataportability.youtube.channel`\n- `https://www.googleapis.com/auth/dataportability.youtube.clips`\n- `https://www.googleapis.com/auth/dataportability.youtube.comments`\n- `https://www.googleapis.com/auth/dataportability.youtube.live_chat`\n- `https://www.googleapis.com/auth/dataportability.youtube.music`\n- `https://www.googleapis.com/auth/dataportability.youtube.playable`\n- `https://www.googleapis.com/auth/dataportability.youtube.posts`\n- `https://www.googleapis.com/auth/dataportability.youtube.private_playlists`\n- `https://www.googleapis.com/auth/dataportability.youtube.private_videos`\n- `https://www.googleapis.com/auth/dataportability.youtube.public_playlists`\n- `https://www.googleapis.com/auth/dataportability.youtube.public_videos`\n- `https://www.googleapis.com/auth/dataportability.youtube.shopping`\n- `https://www.googleapis.com/auth/dataportability.youtube.subscriptions`\n- `https://www.googleapis.com/auth/dataportability.youtube.unlisted_playlists`\n- `https://www.googleapis.com/auth/dataportability.youtube.unlisted_videos`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]