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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-04-05 UTC."],[],[],null,["# Method: projects.apps.debugTokens.patch\n\nUpdates 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\n### HTTP 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\n### Path parameters\n\n| Parameters ||\n|-------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `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} |\n\n### Query parameters\n\n| Parameters ||\n|--------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `updateMask` | `string (`[FieldMask](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask)` format)` Required. A comma-separated list of names of fields in the [DebugToken](/docs/reference/appcheck/rest/v1/projects.apps.debugTokens#DebugToken) to update. Example: `displayName`. |\n\n### Request body\n\nThe request body contains an instance of [DebugToken](/docs/reference/appcheck/rest/v1/projects.apps.debugTokens#DebugToken).\n\n### Response body\n\nIf successful, the response body contains an instance of [DebugToken](/docs/reference/appcheck/rest/v1/projects.apps.debugTokens#DebugToken).\n\n### Authorization 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/)."]]