the JMap data source id
the attachment identifier to update
partial attachment payload containing the new values
JMap.Attachment
.update(
"f47ac10b-58cc-4372-a567-0e02b2c3d479",
"d9428888-122b-11e1-b85c-61cd3cbb3210",
{ subject: "Updated subject", description: "New details" }
)
.then(() => console.log("Attachment updated"))
.catch(error => console.error("Failed to update attachment", error))
JMap.Attachment.update
Updates the metadata (subject, description, URL) of an existing attachment.