Delete photos
Delete photos from a project, together with every edit and staging made from them and any video that starts with one of them. A Listing Tour that only uses a deleted photo later in its sequence is kept. Only do this when the user explicitly asks to remove those photos; confirm which ones first. All IDs must belong to the project, otherwise nothing is deleted. Returns the deleted IDs; call get_project to see what remains.
Requires a connection with edit access.
Request
- Base URL: https://api.propertypixel.app/v1
- URL: https://api.propertypixel.app/v1/projects/{project_id}/photos/delete
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://llflgtovnkrsjqydycyu.supabase.co/auth/v1/oauth/authorize, token URL https://llflgtovnkrsjqydycyu.supabase.co/auth/v1/oauth/token)
Path parameters
The project the photos belong to.
Headers
A unique key (for example a UUID) that makes retries safe. A retry with the same key and body returns the stored response; the same key with a different body returns 422. Keys last 24 hours.
Request body
Response
Delete photos
Changes
No recorded changes to this operation across all 1 revision of this API.