---
title: "PATCH /v1/{+name}"
method: PATCH
path: "/v1/{+name}"
tags: ["users"]
---

# PATCH /v1/{+name}

`PATCH /v1/{+name}`

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

## Path parameters

- `name` string, required

## Query parameters

- `updateMask` string

## Request body

- SshPublicKey — The SSH public key information associated with a Google account.
  - `fingerprint` string — Output only. The SHA-256 fingerprint of the SSH public key.
  - `key` string — Required. Public key text in SSH format, defined by [RFC4253](https://www.ietf.org/rfc/rfc4253.txt) section 6.6.
  - `name` string — Output only. The canonical resource name.
  - `expirationTimeUsec` string, int64 — An expiration time in microseconds since epoch.

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/oslogin.md) · [All operations](https://skmtc.dev/google/apis/oslogin/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/oslogin/revisions/d37e38e2f1c7/schema)
