Method: projects.apps.debugTokens.patch

Updates the specified DebugToken.

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

HTTP request

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

The URL uses gRPC 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 the DebugToken to update. Example: displayName.

Request body

The request body contains an instance of DebugToken.

Response body

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

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.