Method: projects.traceSinks.delete

Deletes a sink.

HTTP request

DELETE https://cloudtrace.googleapis.com/v2beta1/{name=projects/*/traceSinks/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The full resource name of the sink to delete, including the parent resource and the sink identifier:

"projects/[PROJECT_NUMBER]/traceSinks/[SINK_ID]"

Example: "projects/12345/traceSinks/my-sink-id".

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

  • cloudtrace.tracesinks.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/trace.append
  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.