Method: folders.locations.buckets.views.delete

Deletes a view from a bucket.

HTTP request

DELETE https://logging.googleapis.com/v2/{name=folders/*/locations/*/buckets/*/views/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The full resource name of the view to delete:

"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"

Example: "projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-view-id".

Authorization requires the following IAM permission on the specified resource name:

  • logging.views.delete

Request body

The request body must be empty.

Response body

If successful, the response body will be empty.

Authorization Scopes

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 Authentication Overview.