Method: projects.locations.oauthClients.delete

Deletes an OauthClient.

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.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



Required. The name of the OauthClient to delete.

Format: projects/{project}/locations/{location}/oauthClients/{oauthClient}.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of OauthClient.

Authorization scopes

Requires one of the following OAuth scopes:


For more information, see the Authentication Overview.