Method: projects.apps.debugTokens.patch
Stay organized with collections
Save and categorize content based on your preferences.
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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-04-05 UTC.
[null,null,["Last updated 2024-04-05 UTC."],[],[],null,["Updates the specified [DebugToken](/docs/reference/appcheck/rest/v1/projects.apps.debugTokens#DebugToken).\n\nFor security reasons, the [`token`](/docs/reference/appcheck/rest/v1/projects.apps.debugTokens#DebugToken.FIELDS.token) field cannot be updated, nor will it be populated in the response, but you can revoke the debug token using [debugTokens.delete](/docs/reference/appcheck/rest/v1/projects.apps.debugTokens/delete#google.firebase.appcheck.v1.ConfigService.DeleteDebugToken).\n\nHTTP request\n\n`PATCH https://firebaseappcheck.googleapis.com/v1/{debugToken.name=projects/*/apps/*/debugTokens/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\nPath parameters\n\nQuery parameters\n\nRequest body\n\nThe request body contains an instance of [DebugToken](/docs/reference/appcheck/rest/v1/projects.apps.debugTokens#DebugToken).\n\nResponse body\n\nIf successful, the response body contains an instance of [DebugToken](/docs/reference/appcheck/rest/v1/projects.apps.debugTokens#DebugToken).\n\nAuthorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n- `https://www.googleapis.com/auth/firebase`\n\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/)."]]