Method: projects.apps.debugTokens.delete

Deletes 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.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The relative resource name of the DebugToken to delete, in the format:

projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id}

Request body

The request body must be empty.

Response body

If successful, the response body is empty.

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.