Deletes a list of Photos
and their metadata.
Note that if photos.batchDelete
fails, either critical fields are missing or there is an authentication error. Even if photos.batchDelete
succeeds, individual photos in the batch may have failures. These failures are specified in each PhotoResponse.status
in BatchDeletePhotosResponse.results
. See photo.delete
for specific failures that can occur per photo.
HTTP request
POST https://streetviewpublish.googleapis.com/v1/photos:batchDelete
The URL uses gRPC Transcoding syntax.
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "photoIds": [ string ] } |
Fields | |
---|---|
photoIds[] |
Required. IDs of the |
Response body
Response to batch delete of one or more Photos
.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"status": [
{
object ( |
Fields | |
---|---|
status[] |
The status for the operation to delete a single |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/streetviewpublish
For more information, see the OAuth 2.0 Overview.