Delete photo
Deletes a photo or media item from a Google Business Profile location.
Authorization
bearerAuth API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Path Parameters
Query Parameters
Override which location to target. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
The media item ID to delete
Response Body
application/json
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.gmbmedia.deleteGoogleBusinessMedia({ path: { accountId: 'account_abc123', }, query: { mediaId: 'media_abc123', },});console.log(data);{ "success": true, "deleted": true, "mediaId": "string"}Upload photo
Creates a media item (photo) for a location from a publicly accessible URL. Categories determine where the photo appears: CATEGORY_UNSPECIFIED, COVER, PROFILE, LOGO, EXTERIOR, INTERIOR, PRODUCT, FOOD_AND_DRINK, MENU, COMMON_AREA, ROOMS, TEAMS, AT_WORK, ADDITIONAL.
Get attributes
Returns Google Business Profile location attributes (amenities, services, accessibility, payment types). Available attributes vary by business category.