Skip to main content

Delete comment

DELETE 

/rental-files/:id/comments/:comment_id

Delete a comment from a Rental File.

This endpoint allows the authenticated user to delete a specific comment from a rental file. This can be useful for removing outdated or irrelevant comments.

🔒 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:read

Request​

Responses​

Successful Response