Expenses (only available for accounting add-on users)

Delete attachment from expense

Deletes a single attachment from an existing expense by its attachment ID.

Returns the updated expense after the attachment is removed.

delete/expenses-api/expenses/{id}/attachments/{attachmentId}

Request

  • Base URL
    https://open-api.guesty.com/v1
  • URL
    https://open-api.guesty.com/v1/expenses-api/expenses/{id}/attachments/{attachmentId}
  • Auth
    API key in header authorization

Path parameters

idstring required
Example:67890123-e89b-12d3-a456-426614174000

Expense ID (UUID)

attachmentIdstring required
Example:12345

Attachment ID (string)

Response

Attachment successfully deleted from expense

Changes

No recorded changes to this operation across all 2 revisions of this API.