Method: photo.delete

  • Permanently deletes a specified Photo and its metadata from Street View Publish.

  • Requires authorization with the https://www.googleapis.com/auth/streetviewpublish scope.

  • Returns an error if the user lacks permission or the photo ID is invalid.

  • Uses a DELETE request to the URL https://streetviewpublish.googleapis.com/v1/photo/{photoId} with the photo ID as a path parameter.

  • The request body should be empty, and a successful deletion results in an empty response body.

Deletes a Photo and its metadata.

This method returns the following error codes:

HTTP request

DELETE https://streetviewpublish.googleapis.com/v1/photo/{photoId}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
photoId

string

Required. ID of the Photo .

Request body

The request body must be empty.

Response body

If successful, the response body is an empty JSON object.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/streetviewpublish

For more information, see the OAuth 2.0 Overview .

Create a Mobile Website
View Site in Mobile | Classic
Share by: