Method: projects.apps.debugTokens.create

Creates 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 debugTokens.delete.

Each app can have a maximum of 20 debug tokens.

HTTP request

POST https://firebaseappcheck.googleapis.com/v1beta/{parent=projects/*/apps/*}/debugTokens

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The relative resource name of the parent app in which the specified DebugToken will be created, in the format:

projects/{project_number}/apps/{app_id}

Request body

The request body contains an instance of DebugToken.

Response body

If successful, the response body contains a newly created 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.