Delete Image
Deletes one or more images from a VRBO listing.
Endpoint
POST

https://connect-sandbox.su-api.com/SUAPI/jservice/vrbo/image/deleteHeader
app-id: YOUR_APP_ID
Authorization: YOUR_API_KEY
Content-Type:application/jsonapp-id
string
Yes
Your application ID. Required for authentication.
Authorization
string
Yes
Your API key for authorization. Required for authentication.
Content-Type
string
Yes
Must be set to application/json.
Attributes
hotel_id string (Required)
The unique property ID as assigned by the provider upon creation of the property.
listing_id integer (Required)
VRBO listing ID where images exist.
image_ids array (Required)
List of image IDs to be deleted.
Request
{
"hotel_id": "AWSTEST",
"listing_id": 73384756,
"image_ids": [
"d4003e28-078a-4a52-a2a6-2a4ff56aa6b9"
]
}Response
Success Response
{
"Status": "Success",
"Data": [],
"Message": "Image delete successfully",
"Trace-ID": ""
}Success Response - Body Elements
Status string
Indicates the result of the API call.
Data object
The response data, the root element.
Message string
The message in the response.
Trace-ID string
Unique ID for tracing the API request.
Error Response
{
"Status": "Fail",
"Errors": [
{
"Code": "400",
"ShortText": "hotel_id: Invalid HotelCode (:hotelid)"
},
{
"Code": "2004",
"ShortText": "Listing Id is required"
},
{
"Code": "1391",
"ShortText": "image_ids is invalid or not found!"
}
],
"Message": "",
"Trace-ID": ""
}Error Response - Body Elements
Status string
Indicates the result of the API call.
Errors object
The response error, the root element.
Code string
Specific error code that helps identify the type of error.
ShortText string
A short description of the error.
Message string
The message in the response.
Trace-ID string
Unique ID for tracing the API request.
Last updated
Was this helpful?