lane
06/23/2025, 11:55 AMmedplum.delete(attachment.url) but I repeatedly get 404 error - Not found. However, I can download the attachment just fine using the same url. The attachment is created in a self-hosted environment with the code below. As mentioned, I can download it but cannot delete it.
const options: CreateBinaryOptions = {
contentType: 'application/json',
filename: 'manifest.json',
data: JSON.stringify(manifest, null, 0),
};
const attachment = await medplum.createAttachment(options);reshma
06/23/2025, 3:13 PM