Skip to content

removeFormRecordAttachment

DELETE
/api/v1/data-sources/{id}/records/{recordId}/attachments/{attachmentId}
curl --request DELETE \
--url 'https://example.com/api/v1/data-sources/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/records/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/attachments/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0?version=1'

Unbinds an attachment, clears the field value it backed, and soft-deletes the underlying asset. Uses optimistic concurrency — the record’s current version is required as a query parameter and a mismatch returns 409. Authorization matches record editing. Returns the updated record detail.

attachmentId
required
string format: uuid
id
required
string format: uuid
recordId
required
string format: uuid
version
required
integer

The record’s current version

Updated record detail after removal

Attachment or record not found or not visible to the caller

Record version conflict