• Articles
  • Api Documentation
Show / Hide Table of Contents
  • Setting up the API Client
  • Using the API Client
    • Getting started
  • Customers
    • Adding a customer
  • Branch Users
    • Managing branch users
  • List data
    • Getting list data
  • Properties
    • Referring a property
    • Searching for properties
    • Getting property details
  • Property Images
    • Listing property images
    • Adding property images
    • Removing property images
  • Property Notes
    • Listing property notes
  • Viewings
    • Listing property viewings
    • Creating a viewing
    • Rescheduling a viewing
    • Cancelling a viewing
    • Adding viewing feedback

Removing property images

In order to remove images from a property, you'll need to use the PropertyImages.RemovePropertyImageAsync method on the API client:

var response = await client.PropertyImages.RemovePropertyImageAsync(new RemovePropertyImageRequest
{
    PropertyId = propertyId,
    ImageId = imageId
});

This will return a RemovePropertyImageResponse object, which will indicate success or failure of the operation.

Validation

The PropertyId must be the Id of a property that is associated to the partner agent that is making the request.

The ImageId must be the Id of an image that is associated to the property that is being removed.

In This Article
Back to top Generated by DocFX