v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-138818.9 KB
users

Updates an SSH public key and returns the profile information. This method supports patch semantics.

patch/v1/{+name}

Path parameters

namestring required

Required. The fingerprint of the public key to update. Public keys are identified by their SHA-256 fingerprint. The fingerprint of the public key is in format users/{user}/sshPublicKeys/{fingerprint}.

Query parameters

updateMaskstring

Optional. Mask to control which fields get updated. Updates all if not present.

Request body

fingerprintstring

Output only. The SHA-256 fingerprint of the SSH public key.

keystring

Required. Public key text in SSH format, defined by RFC4253 section 6.6.

namestring

Output only. The canonical resource name.

expirationTimeUsecstring int64

An expiration time in microseconds since epoch.

Response

Successful response