Method: projects.apps.safetyNetConfig.patch

Updates the SafetyNetConfig for the specified app.

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

HTTP request

PATCH https://firebaseappcheck.googleapis.com/v1beta/{safetyNetConfig.name=projects/*/apps/*/safetyNetConfig}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
safetyNetConfig.name

string

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

projects/{project_number}/apps/{app_id}/safetyNetConfig

Query parameters

Parameters
updateMask

string (FieldMask format)

Required. A comma-separated list of names of fields in the SafetyNetConfig Gets to update. Example: tokenTtl.

Request body

The request body contains an instance of SafetyNetConfig.

Response body

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

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.