Skip to content

Delete an attachment

Request

Purpose

Deletes an attachment from a journal entry.

When to use

  • Remove an attachment that was added by mistake or replaced by a newer version.

Notes

  • The attachment is identified by attachmentId alone. Make sure it belongs to the entry in the path.
Security
OneIdOAuth
Path
jeIdinteger, (int64)required

ID of the journal entry.

Example:10045
attachmentIdinteger, (int64)required

ID of the attachment.

Example:501
cURL
curl -i -X DELETE \
  https://one.zuora.com/revenue/services/v1/journal-entries/10045/attachments/501 \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Attachment deleted (no response body)

Headers
traceIdstring

Identifier of the request. Quote it when you contact Zuora Support.

Response
No content