Method: projects.locations.oauthClients.undelete

Undeletes an OauthClient, as long as it was deleted fewer than 30 days ago.

HTTP request

POST https://iam.googleapis.com/v1/{name=projects/*/locations/*/oauthClients/*}:undelete

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the OauthClient to undelete.

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:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/iam

For more information, see the Authentication Overview.