---
title: "Update Google Cloud Credential"
method: PATCH
path: "/v1/credentials/googleCloud/{googleCloudCredentialId}"
tags: ["Cloud"]
---

# Update Google Cloud Credential

`PATCH /v1/credentials/googleCloud/{googleCloudCredentialId}`

Update an existing credential for Google Cloud.

## Path parameters

- `googleCloudCredentialId` string, required — Google Cloud credential ID

## Response `200`

OK. Returns the updated Google Cloud credential.

- GoogleCloudCredentialObject
  - `credentialId` string, required — Google Cloud credential ID
  - `type` 'googleCloud', required
  - `params` object, required
    - `name` string, required — Name of the credential
    - `keyType` string, required — The type of the credential
    - `projectId` string, required — The ID of the Google Cloud project from which the credential was created

## Other responses

- `400` — Bad Request. Occurs when no file is found or the file is invalid.
- `403` — Forbidden. Occurs when the credential was not found or the user does not have access to it.
- `409` — Conflict. Occurs when the credentials are already in use.

---

[API](https://skmtc.net/lucid/apis/lucid-rest-api.md) · [All operations](https://skmtc.net/lucid/apis/lucid-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lucid/lucid-rest-api/revisions/6a32cb9e1aa7/schema)
