v1Resources/Media/deleteUnshare an asset
Unshare an asset
Revokes the asset's public link. Requires an active, identified agency user with Media access; both user and credential client restrictions apply.
delete
media:write/api/v1/media/{id}/shareQuery parameters
idstringrequired
The asset to unshare.
Response
dataobjectoptional
accessstring (restricted)optional
Always "restricted" on success.
Errors
400The request is missing a required parameter or is otherwise malformed.
401Missing, invalid, expired, or revoked API key.
403The key lacks the required scope, or isn't authorized for this client/location.
429Too many requests. Retry after the number of seconds in the Retry-After header.
delete/api/v1/media/{id}/share
Your API key
id *
{
"data": {
"access": "restricted"
}
}Guides that use this resource
- Upload Business Photos via APIAdd photos to a location by category with the Synup API, from a public URL or base64, and avoid uploading the same image twice on a schedule.
- Read a Location's Google Photos from Stored DataList the Google Business Profile photos Synup has stored for a location, owner and customer, with freshness and paging, without calling Google.