v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13274687.3 KB
projects

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.

patch/v1/{+name}

Path parameters

namestring required

Required. The relative resource name of the SafetyNet configuration object, in the format: projects/{project_number}/apps/{app_id}/safetyNetConfig

Query parameters

updateMaskstring

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

Request body

tokenTtlstring google-duration

Specifies the duration for which App Check tokens exchanged from SafetyNet tokens will be valid. If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive.

namestring

Required. The relative resource name of the SafetyNet configuration object, in the format: projects/{project_number}/apps/{app_id}/safetyNetConfig

Response

Successful response