get
https://api.my-rent.net/customer/rent_del/
Deletes (cancels) a reservation created through the Customer API.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Deletes (cancels) a reservation created through the Customer API.
Authentication: send the token headers user_guid and token, plus your Customer API keys in the key and authorization headers. See Customer API - Getting started.
The reservation is identified by rent_id_hash (the id_hash from Reservation add) and must belong to the account. POST is also accepted.
Responses
| Status | Meaning |
|---|---|
200 | Reservation deleted. |
403 | The property is not assigned to your customer account. Body: "Can't touch this!". |
401 | Missing or wrong key / authorization headers. Body: "Sorry: headers are empty. You need keys: key & authorization" or " Keys are wrong ". |
404 | Missing or invalid user_guid or token header. Empty body. |
500 | The reservation was not deleted. error explains why, for example Can't find reservation. |
