---
title: "PATCH /v1/settings/customer"
method: PATCH
path: "/v1/settings/customer"
tags: ["settings"]
---

# PATCH /v1/settings/customer

`PATCH /v1/settings/customer`

Update customer settings. **Note:** This API requires an admin account to execute.

## Query parameters

- `updateMask` string

## Request body

- CustomerSettings — Represents settings at a customer level.
  - `vpcSettings` VPCSettings
    - `project` string — The resource name of the GCP Project to be used for VPC SC policy check. VPC security settings on this project will be honored for Cloud Search APIs after project_name has been updated through CustomerService. Format: projects/{project_id}
  - `auditLoggingSettings` AuditLoggingSettings — Represents the settings for Cloud audit logging
    - `logAdminReadActions` boolean — Indicates whether audit logging is on/off for admin activity read APIs i.e. Get/List DataSources, Get/List SearchApplications etc.
    - `logDataWriteActions` boolean — Indicates whether audit logging is on/off for data access write APIs i.e. IndexItem etc.
    - `logDataReadActions` boolean — Indicates whether audit logging is on/off for data access read APIs i.e. ListItems, GetItem etc.
    - `project` string — The resource name of the GCP Project to store audit logs. Cloud audit logging will be enabled after project_name has been updated through CustomerService. Format: projects/{project_id}

## Response `200`

Successful response

---

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