Skip to main content

Delete rental file

DELETE 

/rental-files/:id/

Delete a Rental File by ID.

This endpoint allows the authenticated user to delete a specific rental file using its unique identifier. If the operation is successful, a 204 No Content response will be returned.

🔒 Authentication​

This endpoint require a valid OAuth2 Bearer

It supports account impersonation within Organization's sub-accounts using X-Eaz-Account-Id Header.

  • If the X-Eaz-Account-Id header is provided and the user has access rights to that sub-account, the impersonation context is applied.
  • Otherwise, the user's own account context is used.

Scopes :​

User must provide one of the following scopes:

  • admin
  • staff
  • user
  • org:admin
  • org:staff
  • org:user
  • rental_file:write

Request​

Responses​

Successful Response