Method: projects.apps.deviceCheckConfig.patch

Updates the DeviceCheckConfig for the specified app.

While this configuration is incomplete or invalid, the app will be unable to exchange DeviceCheck tokens for App Check tokens.

For security reasons, the privateKey field is never populated in the response.

HTTP request

PATCH https://firebaseappcheck.googleapis.com/v1/{deviceCheckConfig.name=projects/*/apps/*/deviceCheckConfig}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
deviceCheckConfig.name

string

Required. The relative resource name of the DeviceCheck configuration object, in the format:

projects/{project_number}/apps/{app_id}/deviceCheckConfig

Query parameters

Parameters
updateMask

string (FieldMask format)

Required. A comma-separated list of names of fields in the DeviceCheckConfig Gets to update. Example: keyId,privateKey.

Request body

The request body contains an instance of DeviceCheckConfig.

Response body

If successful, the response body contains an instance of DeviceCheckConfig.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/firebase

For more information, see the Authentication Overview.