Skip to main content

debug_tokens

Overview

Namedebug_tokens
TypeResource
Idfirebase.firebaseappcheck.debug_tokens

Fields

NameDatatypeDescription
namestringRequired. The relative resource name of the debug token, in the format: projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id}
displayNamestringRequired. A human readable display name used to identify this debug token.
tokenstringRequired. Input only. Immutable. The secret token itself. Must be provided during creation, and must be a UUID4, case insensitive. This field is immutable once set, and cannot be provided during an UpdateDebugToken request. You can, however, delete this debug token using DeleteDebugToken to revoke it. For security reasons, this field will never be populated in any response.

Methods

NameAccessible byRequired ParamsDescription
projects_apps_debugTokens_getSELECTappsId, debugTokensId, projectsIdGets the specified DebugToken. For security reasons, the token field is never populated in the response.
projects_apps_debugTokens_listSELECTappsId, projectsIdLists all DebugTokens for the specified app. For security reasons, the token field is never populated in the response.
projects_apps_debugTokens_createINSERTappsId, projectsIdCreates a new DebugToken for the specified app. For security reasons, after the creation operation completes, the token field cannot be updated or retrieved, but you can revoke the debug token using DeleteDebugToken. Each app can have a maximum of 20 debug tokens.
projects_apps_debugTokens_deleteDELETEappsId, debugTokensId, projectsIdDeletes the specified DebugToken. A deleted debug token cannot be used to exchange for an App Check token. Use this method when you suspect the secret token has been compromised or when you no longer need the debug token.
projects_apps_debugTokens_patchEXECappsId, debugTokensId, projectsIdUpdates 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 DeleteDebugToken.