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.