Find the parent project and resource name of the API key that matches the key string in the request. If the API key has been purged, resource name will not be set. The service account must have the apikeys.keys.lookup permission on the parent project.
Request
- Base URLhttps://apikeys.googleapis.com
- URLhttps://apikeys.googleapis.com/v2/keys:lookupKey
- Auth
- OAuth 2 and OAuth 2Implicit: https://accounts.google.com/o/oauth2/authScopes: https://www.googleapis.com/auth/apikeysAuthorization code: https://accounts.google.com/o/oauth2/authToken URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/apikeys
- or OAuth 2 and OAuth 2Implicit: https://accounts.google.com/o/oauth2/authScopes: https://www.googleapis.com/auth/apikeys.readonlyAuthorization code: https://accounts.google.com/o/oauth2/authToken URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/apikeys.readonly
- or OAuth 2 and OAuth 2Implicit: https://accounts.google.com/o/oauth2/authScopes: https://www.googleapis.com/auth/cloud-platformAuthorization code: https://accounts.google.com/o/oauth2/authToken URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/cloud-platform
- or OAuth 2 and OAuth 2Implicit: https://accounts.google.com/o/oauth2/authScopes: https://www.googleapis.com/auth/cloud-platform.read-onlyAuthorization code: https://accounts.google.com/o/oauth2/authToken URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/cloud-platform.read-only
Query parameters
Required. Finds the project that owns the key string value.
Response
Successful response
Changes
- breaking
removed the media type
*/*for the response with the status - info
the security scope
https://www.googleapis.com/auth/apikeyswas added to the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/apikeyswas added to the endpoint's security schemeOauth2c - info
the security scope
https://www.googleapis.com/auth/cloud-platform.read-onlywas removed from the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/cloud-platform.read-onlywas removed from the endpoint's security schemeOauth2c
- breaking
- info
the security scope
https://www.googleapis.com/auth/apikeyswas added to the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/apikeyswas added to the endpoint's security schemeOauth2c - info
the security scope
https://www.googleapis.com/auth/cloud-platform.read-onlywas removed from the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/cloud-platform.read-onlywas removed from the endpoint's security schemeOauth2c
- info