---
title: "Delete profile media"
method: DELETE
path: "/api/profiles/{profile_id}/google_business/delete_media"
tags: ["Google Business"]
---

# Delete profile media

`DELETE /api/profiles/{profile_id}/google_business/delete_media`

## Request

- Base URL: `https://api.postproxy.dev`
- URL: `https://api.postproxy.dev/api/profiles/{profile_id}/google_business/delete_media`
- Auth: HTTP bearer

Deletes a photo or video from the Business Profile.

## Path parameters

- `profile_id` string, required

## Query parameters

- `location_id` string, required
- `media_name` string, required
- `profile_group_id` string

## Headers

- `Idempotency-Key` string

## Response `200`

Deleted

- object
  - `success` boolean

## Other responses

- `400`: Missing required parameters.
- `401`: Invalid, missing, or insufficient API key permissions.
- `403`: Google refused the operation for this account
- `404`: Resource does not exist or is not accessible.
- `422`: Validation failed.
- `429`: Posting rate limit reached.

---

[API](https://skmtc.dev/postproxy/apis/postproxy-social-media-api.md) - [All operations](https://skmtc.dev/postproxy/apis/postproxy-social-media-api/llms.txt) - [OpenAPI document](https://skmtc.dev/postproxy/apis/postproxy-social-media-api/revisions/d54482ac4ce7?raw)
