PATCH
/
projects
/
{projectIdOrName}
/
api-keys
/
{apiKey}

Authorizations

X-Api-Key
string
header
required

Path Parameters

projectIdOrName
string
required
apiKey
string
required

Body

application/json
apiKey
object
required
updateMask
string[]
required

Response

200 - application/json
key
string
required

The API key.

label
string
required

A short name for the API key.

projectId
string
required

The project ID.

scopes
string[]
required

The scopes for the API key.

active
boolean

Whether the API key is active.