Method get

Returns the specified API key.

To get the list of available API keys, make a list request.

HTTP request


Path parameters

Parameter Description
apiKeyId Required. ID of the API key to return. To get the API key ID, use a list request. The maximum string length in characters is 50.


HTTP Code: 200 - OK

  "id": "string",
  "serviceAccountId": "string",
  "createdAt": "string",
  "description": "string"

An ApiKey resource.

Field Description
id string

ID of the API Key.

serviceAccountId string

ID of the service account that the API key belongs to.

createdAt string (date-time)

Creation timestamp.

String in RFC3339 text format.

description string

Description of the API key. 0-256 characters long.