the JMap data source id
the attachment identifier to remove
JMap.Attachment
.remove("f47ac10b-58cc-4372-a567-0e02b2c3d479", "d9428888-122b-11e1-b85c-61cd3cbb3210")
.then(() => console.log("Attachment removed"))
.catch(error => console.error("Failed to remove attachment", error))
JMap.Attachment.remove
Deletes an attachment previously created on a data source.