Remove image
DELETE/v1/partner/bookings/:booking_id/images/:image_id
Removes a specific image associated with a booking. Requires the read:bookings scope for access.
Token scope:{'scope': 'write:bookings'}
Request​
Path Parameters
booking_id Booking Idrequired
The unique identifier of the booking associated with the image.
image_id Image Idrequired
The unique identifier of the image to be deleted.
Responses​
- 200
- 422
Successful Response
- application/json
- Schema
Schema
string
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
msg Message (string)required
type Error Type (string)required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...