Removes an extension of this reservation and moves the return date back to where it was before the extension. Only the latest extension can be deleted. The reservation is recalculated.
Request
Authorization
Path Params
Header Params
Responses
🟢200OK
application/json
The recalculated reservation summary, or a business error. HTTP 200 is also used for failures: always check success. When it is false, the body is an ErrorBusinessRule (status_code 410) or an ErrorUnauthorized (status_code 401 or 403).
Bodyapplication/json
Example
{"success":false,"status_code":410,"errors":{"id":["Only the last extension can be deleted."],"error_message":"Only the last extension can be deleted."},"data":[]}