Locations
Locations
Photos
Delete Location Photos
This API allows you to delete one or more photos of type ADDITIONAL from a specified location.
:::info[] Note Only ADDITIONAL photo types can be removed. LOGO and COVER photo types cannot be deleted using this endpoint. :::
For more details, refer to Manage photos for your location.
post/locations/photos/remove
Request
- Base URLhttps://api.synup.com/api/v4
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Authorizationstring required
API key for authentication
Request body
Example request
{
"input": {
"locationId": "TG9jYXRpb246MTM5NTc=",
"photoIds": [
"TG9jYXRpb25QaG90bzoxMjI2MA=="
]
}
}Response
Logo/Cover Cannot Be Starred: If a request includes photos of type LOGO or COVER, the operation will fail for those photos.
Changes
No recorded changes to this operation across all 1 revision of this API.