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

Authorizations

X-Api-Key
string
headerrequired

Path Parameters

projectIdOrName
string
required
apiKey
string
required

Body

application/json
updateMask
string[]
required
apiKey
object
required

Response

200 - application/json
key
string
required

The API key.

label
string
required

A short name for the API key.

scopes
string[]
required

The scopes for the API key.

projectId
string
required

The project ID.

active
boolean

Whether the API key is active.