---
title: "DELETE /v1/photo/{photoId}"
method: DELETE
path: "/v1/photo/{photoId}"
tags: ["photo"]
---

# DELETE /v1/photo/{photoId}

`DELETE /v1/photo/{photoId}`

## Request

- Base URL: `https://streetviewpublish.googleapis.com`
- URL: `https://streetviewpublish.googleapis.com/v1/photo/{photoId}`
- Auth: OAuth 2 and OAuth 2
  - Implicit: `https://accounts.google.com/o/oauth2/auth`
  - Scopes: `https://www.googleapis.com/auth/streetviewpublish`
  - Authorization code: `https://accounts.google.com/o/oauth2/auth`
  - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/streetviewpublish`

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.

## Path parameters

- `photoId` string, required

## Response `200`

Successful response

- Empty: A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }

## Changes

- **2026-10-10** `456fcd9c879c`: 1 breaking
  - removed the media type `*/*` for the response with the status `200`

[Operation history](https://skmtc.dev/google/apis/streetviewpublish/changes/v1/photo/:photoId/delete.md)

---

[API](https://skmtc.dev/google/apis/streetviewpublish.md) - [All operations](https://skmtc.dev/google/apis/streetviewpublish/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/streetviewpublish/revisions/456fcd9c879c?raw)
