Method projects.logs.delete

Deletes a log and all its log entries. The log will reappear if it receives new entries.

HTTP request

DELETE https://logging.googleapis.com/v1beta3/{logName=projects/*/logs/*}

(This URI uses URI Template syntax.)

Path parameters

Parameter name Type Description
logName string The resource name of the log to be deleted.

Request body

The request body must be empty.

Response body

If successful, the response body will be empty.

Authorization

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/logging.admin
  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Auth Guide.

Try it!