Deletes a Photo
and its metadata.
This method returns the following error codes:
google.rpc.Code.PERMISSION_DENIED
if the requesting user did not create the requested photo.google.rpc.Code.NOT_FOUND
if the photo ID does not exist.
HTTP request
DELETE https://streetviewpublish.googleapis.com/v1/photo/{photoId}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
photoId |
Required. ID of the |
Request body
The request body must be empty.
Response body
If successful, the response body is empty.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/streetviewpublish
For more information, see the OAuth 2.0 Overview.