You cannot use a deleted OauthClient. However, deletion does not revoke access tokens that have already been issued. They continue to grant access. Deletion does revoke refresh tokens that have already been issued. They cannot be used to renew an access token. If the OauthClient is undeleted, and the refresh tokens are not expired, they are valid for token exchange again. You can undelete an OauthClient for 30 days. After 30 days, deletion is permanent. You cannot update deleted OauthClients. However, you can view and list them.
[[["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-01-16 UTC."],[[["This endpoint is used to delete an OauthClient, which prevents its future use but does not revoke existing access tokens."],["Deletion of an OauthClient revokes any existing refresh tokens, rendering them unusable for new access tokens."],["Deleted OauthClients can be recovered within a 30-day window, restoring the validity of non-expired refresh tokens; permanent deletion occurs after 30 days."],["The HTTP request method for deleting an OauthClient is `DELETE`, with the required parameter being the OauthClient's resource `name`."],["Successful deletion returns an instance of the OauthClient, and it requires either the `https://www.googleapis.com/auth/cloud-platform` or `https://www.googleapis.com/auth/iam` authorization scope."]]],[]]