Method: projects.locations.observationSources.delete

observationSources.delete deletes an observation source. This method will fail if the observation source is currently being used by any ObservationJob, even if not enabled.

HTTP request

DELETE https://apim.googleapis.com/v1alpha/{name=projects/*/locations/*/observationSources/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Name of the resource Format: projects/{project}/locations/{location}/observationSources/{source}

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Operation.

Authorization scopes

Requires the following OAuth scope:

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

IAM Permissions

Requires the following IAM permission on the name resource:

  • apim.observationSources.delete

For more information, see the IAM documentation.