Method: projects.apps.debugTokens.patch

Updates the specifiedDebugToken.

For security reasons, thetoken field cannot be updated, nor will it be populated in the response, but you can revoke the debug token usingdebugTokens.delete.

HTTP request

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

The URL usesgRPC Transcoding syntax.

Path parameters

Parameters
debugToken.name

string

Required. The relative resource name of the debug token, in the format:

projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id}

Query parameters

Parameters
updateMask

string (FieldMask format)

Required. A comma-separated list of names of fields in theDebugToken to update. Example:displayName.

Request body

The request body contains an instance ofDebugToken.

Response body

If successful, the response body contains an instance ofDebugToken.

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 theOAuth 2.0 Overview.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-09-25 UTC.