---
title: "POST /v1/{+parent}/services:batchUpdate"
method: POST
path: "/v1/{+parent}/services:batchUpdate"
tags: ["projects"]
---

# POST /v1/{+parent}/services:batchUpdate

`POST /v1/{+parent}/services:batchUpdate`

Atomically updates the specified Service configurations.

## Path parameters

- `parent` string, required

## Request body

- GoogleFirebaseAppcheckV1BatchUpdateServicesRequest — Request message for the BatchUpdateServices method.
  - `updateMask` string, google-fieldmask — Optional. A comma-separated list of names of fields in the Services to update. Example: `display_name`. If the `update_mask` field is set in both this request and any of the UpdateServiceRequest messages, they must match or the entire batch fails and no updates will be committed.
  - `requests` GoogleFirebaseAppcheckV1UpdateServiceRequest[] — Required. The request messages specifying the Services to update. A maximum of 100 objects can be updated in a batch.
    - `service` GoogleFirebaseAppcheckV1Service — The enforcement configuration for a Firebase service supported by App Check.
      - `replayProtection` 'OFF' | 'UNENFORCED' | 'ENFORCED' — Optional. The replay protection enforcement mode for this service. Note that this field cannot be set to a level higher than the overall App Check enforcement mode. For example, if the overall App Check enforcement mode is set to `UNENFORCED`, this field cannot be set to `ENFORCED`. In order to enforce replay protection, you must first enforce App Check. An HTTP 400 error will be returned in this case. By default, this field is set to `OFF`. Setting this field to `UNENFORCED` or `ENFORCED` is considered opting into replay protection. Once opted in, requests to your protected services may experience higher latency. To opt out of replay protection after opting in, set this field to `OFF`.
      - `etag` string — Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. This etag is strongly validated as defined by RFC 7232.
      - `name` string — Required. The relative resource name of the service configuration object, in the format: ``` projects/{project_number}/services/{service_id} ``` Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `firebasestorage.googleapis.com` (Cloud Storage for Firebase) * `firebasedatabase.googleapis.com` (Firebase Realtime Database) * `firestore.googleapis.com` (Cloud Firestore) * `oauth2.googleapis.com` (Google Identity for iOS)
      - `updateTime` string, google-datetime — Output only. Timestamp when this service configuration object was most recently updated.
      - `enforcementMode` 'OFF' | 'UNENFORCED' | 'ENFORCED' — Required. The App Check enforcement mode for this service.
    - `updateMask` string, google-fieldmask — Required. A comma-separated list of names of fields in the Service to update. Example: `enforcement_mode`.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/firebaseappcheck.md) · [All operations](https://skmtc.net/google/apis/firebaseappcheck/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/firebaseappcheck/versions/b321501ef5a5/schema)
